/* Smart Greenhouse IoT Sensors Startup - Responsive CSS */

/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.63rem;
  }
  
  .hero-section p {
    font-size: 0.99rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .navbar-brand {
    font-size: 10px !important;
    font-size: 1rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .hero-section::before,
  .hero-section::after {
    width: 300px;
    height: 300px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 1.64rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-card,
  .feature-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .price-amount {
    font-size: 2.62rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 1.85rem;
  }
  
  .service-card,
  .feature-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 0.75rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section h1 {
    font-size: var(--font-size-h1);
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 1rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: var(--font-size-h1);
  }
  
  .container-fluid {
    max-width: 1400px;
  }
  
  .hero-section::before {
    width: 700px;
    height: 700px;
  }
  
  .hero-section::after {
    width: 500px;
    height: 500px;
  }
}

/* Navigation responsive behavior */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--white);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Gallery responsive grid */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 1.71rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Team cards responsive */
@media (max-width: 767.98px) {
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Service cards responsive */
@media (max-width: 767.98px) {
  .service-card {
    text-align: center;
  }
  
  .service-price {
    font-size: 1.55rem;
  }
}

/* Contact form responsive */
@media (max-width: 767.98px) {
  .contact-form .row > div {
    margin-bottom: 1rem;
  }
}

/* Blog cards responsive */
@media (max-width: 575.98px) {
  .blog-card img {
    height: 150px;
  }
  
  .blog-card-body {
    padding: 1rem;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .footer .row > div {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* FAQ cards responsive */
@media (max-width: 575.98px) {
  .faq-card {
    padding: 1.5rem;
  }
}

/* Process and timeline items responsive */
@media (max-width: 575.98px) {
  .process-item,
  .timeline-item,
  .career-item {
    padding: 1.5rem;
  }
}

/* Price cards responsive */
@media (max-width: 767.98px) {
  .price-card.featured {
    transform: none;
    border: 2px solid var(--primary-orange);
  }
}

/* Core info items responsive */
@media (max-width: 575.98px) {
  .coreinfo-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}

/* Case study cards responsive */
@media (max-width: 767.98px) {
  .casestudy-card {
    margin-bottom: 2rem;
  }
}

/* Scroll to top button responsive */
@media (max-width: 575.98px) {
  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Social links responsive */
@media (max-width: 575.98px) {
  .social-links {
    justify-content: center;
    gap: 10px;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Contact feature cards responsive */
@media (max-width: 767.98px) {
  .contact-feature-card {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* Skip navigation responsive */
@media (max-width: 575.98px) {
  .skip-nav {
    left: 10px;
    font-size: 0.89rem;
    padding: 6px;
  }
}

/* Enhanced mobile navigation */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(164, 210, 150, 0.25);
  }
}

/* Form validation responsive */
@media (max-width: 575.98px) {
  .form-control.is-invalid {
    font-size: 0.96rem;
  }
}

/* Navbar scrolled responsive */
@media (max-width: 991.98px) {
  .navbar-scrolled .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    margin-top: 0.75rem;
  }
} 

.hero-content {
    padding-top: 175px;
}