/* Solar-Powered Autonomous Lawn-Mower Rentals - Responsive CSS */

/* ============================================
   TABLET STYLES (768px - 1199px)
   ============================================ */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.60rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* ============================================
   MOBILE LANDSCAPE (768px - 991px)
   ============================================ */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
  }
  
  .hero-section {
    min-height: 85vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.39rem;
  }
  
  .hero-subtitle {
    font-size: 1.14rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.81rem;
  }
  
  .section-subtitle {
    font-size: 1.19rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* ============================================
   MOBILE PORTRAIT (576px - 767px)
   ============================================ */
@media (max-width: 767px) {
  .hero-section {
    min-height: 75vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.61rem;
  }
  
  .hero-desc {
    font-size: 0.99rem;
    margin-bottom: 1.61rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.54rem;
    margin-bottom: 0.93rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 0.80rem;
  }
  
  .section-desc {
    font-size: 1.10rem;
    margin-bottom: 2rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card,
  .casestudy-card {
    padding: 1.5rem;
    margin-bottom: 1.73rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.65rem 0.85rem;
  }
  
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.94rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.59rem;
  }
  
  .process-number {
    width: 310px;
    height: 35px;
    top: -12px;
    font-size: 1rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .review-text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .price-amount {
    font-size: 2.55rem;
  }
  
  .price-features li {
    padding: 0.35rem 0;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 1.63rem;
  }
  
  .footer-section h5 {
    font-size: 1rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 1.04rem;
  }
}

/* ============================================
   SMALL MOBILE (320px - 575px)
   ============================================ */
@media (max-width: 575px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 1.5rem 0;
  }
  
  .hero-title {
    font-size: 1.79rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.02rem;
    margin-bottom: 1.41rem;
  }
  
  .hero-desc {
    font-size: 0.94rem;
    margin-bottom: 1.35rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.38rem;
    margin-bottom: 0.55rem;
  }
  
  .section-subtitle {
    font-size: 1.02rem;
    margin-bottom: 0.67rem;
  }
  
  .section-desc {
    font-size: 0.99rem;
    margin-bottom: 1.71rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card,
  .casestudy-card {
    padding: 1.25rem;
    margin-bottom: 1.43rem;
  }
  
  .service-name {
    font-size: 1.27rem;
  }
  
  .service-desc {
    font-size: 0.97rem;
  }
  
  .service-price {
    font-size: 1.32rem;
  }
  
  .service-image {
    height: 120px;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }
  
  .team-name {
    font-size: 1.17rem;
  }
  
  .team-role {
    font-size: 0.96rem;
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 1.05rem;
  }
  
  .btn {
    padding: 0.6rem 1.125rem;
    font-size: 0.90rem;
  }
  
  .gallery-layout {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .process-step {
    padding: 1.25rem;
    margin-bottom: 1.35rem;
  }
  
  .process-number {
    width: 30px;
    height: 30px;
    top: -10px;
    font-size: 1.05rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 0.875rem;
  }
  
  .faq-question {
    font-size: 0.97rem;
  }
  
  .faq-answer {
    font-size: 1.04rem;
  }
  
  .review-text {
    font-size: 1.08rem;
    margin-bottom: 1rem;
  }
  
  .review-author {
    font-size: 1.07rem;
  }
  
  .price-name {
    font-size: 1.27rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .price-features {
    margin-bottom: 1.60rem;
  }
  
  .price-features li {
    padding: 0.3rem 0;
    font-size: 0.93rem;
  }
  
  .footer-content {
    text-align: center;
    padding: 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.46rem;
  }
  
  .footer-section h5 {
    font-size: 1.05rem;
    margin-bottom: 0.96rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.92rem;
  }
  
  .footer-bottom {
    padding-top: 1.74rem;
  }
  
  .footer-bottom small {
    font-size: 0.94rem;
  }
}

/* ============================================
   EXTRA SMALL MOBILE (320px and below)
   ============================================ */
@media (max-width: 320px) {
  .hero-title {
    font-size: 1.52rem;
  }
  
  .hero-subtitle {
    font-size: 0.99rem;
  }
  
  .hero-desc {
    font-size: 0.86rem;
  }
  
  .section-title {
    font-size: 1.39rem;
  }
  
  .section-subtitle {
    font-size: 1.01rem;
  }
  
  .section-desc {
    font-size: 0.90rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card,
  .casestudy-card {
    padding: 1rem;
  }
  
  .service-name {
    font-size: 1rem;
  }
  
  .service-desc {
    font-size: 0.90rem;
  }
  
  .service-price {
    font-size: 1.21rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .team-name {
    font-size: 1rem;
  }
  
  .team-role {
    font-size: 0.99rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.89rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .process-step {
    padding: 1rem;
  }
  
  .process-number {
    width: 28px;
    height: 28px;
    top: -8px;
    font-size: 0.91rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 0.75rem;
  }
  
  .faq-question {
    font-size: 0.96rem;
  }
  
  .faq-answer {
    font-size: 0.97rem;
  }
  
  .review-text {
    font-size: 0.97rem;
  }
  
  .review-author {
    font-size: 1.02rem;
  }
  
  .price-name {
    font-size: 1.25rem;
  }
  
  .price-amount {
    font-size: 1.86rem;
  }
  
  .price-features li {
    font-size: 0.90rem;
  }
  
  .footer-section h5 {
    font-size: 0.99rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.90rem;
  }
  
  .footer-bottom small {
    font-size: 0.80rem;
  }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

/* Hide elements on mobile */
.hidden-mobile {
  display: block;
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none;
  }
}

/* Show elements only on mobile */
.visible-mobile {
  display: none;
}

@media (max-width: 767px) {
  .visible-mobile {
    display: block;
  }
}

/* Responsive spacing */
.section-padding-mobile {
  padding: 4rem 0;
}

@media (max-width: 767px) {
  .section-padding-mobile {
    padding: 2rem 0;
  }
}

/* Responsive text alignment */
.text-center-mobile {
  text-align: left;
}

@media (max-width: 767px) {
  .text-center-mobile {
    text-align: center;
  }
}

/* Responsive margins */
.mb-mobile-2 {
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .mb-mobile-2 {
    margin-bottom: 2rem;
  }
}

/* Responsive card spacing */
.card-spacing {
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .card-spacing {
    margin-bottom: 1.74rem;
  }
}

@media (max-width: 575px) {
  .card-spacing {
    margin-bottom: 1.39rem;
  }
}

/* Responsive image sizes */
.img-responsive-height {
  height: 250px;
}

@media (max-width: 767px) {
  .img-responsive-height {
    height: 150px;
  }
}

@media (max-width: 575px) {
  .img-responsive-height {
    height: 120px;
  }
}

/* Responsive navbar */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
}

/* Responsive hero adjustments */
@media (max-width: 767px) {
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section .col-md-6:first-child {
    margin-top: 2rem;
  }
} 

.hero-content {
    padding-top: 200px;
}