/* Responsive Design for Digital Whiteboard Templates Marketplace */

/* Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    padding: 20px 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
    padding-top: 200px;
}
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .review-card,
  .case-study-card,
  .career-card,
  .core-info-card {
    margin-bottom: 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .process-step {
    padding: 20px 10px;
  }
  
  .timeline-item {
    padding-left: 40px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .decorative-blob {
    display: none;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
    padding-top: 200px;
}
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .review-card,
  .case-study-card,
  .career-card,
  .core-info-card {
    margin-bottom: 30px;
  }
  
  .contact-form {
    padding: 35px 25px;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .blog-card img {
    height: 180px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .hero-section h1 {
    font-size: 2.3rem;
    padding-top: 200px;
}
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .review-card,
  .case-study-card,
  .career-card,
  .core-info-card {
    margin-bottom: 30px;
  }
  
  .contact-form {
    padding: 40px 30px;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .blog-card img {
    height: 200px;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section h1 {
    font-size: 2.4rem;
    padding-top: 200px;
}
  
  .section-title {
    font-size: 2.3rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .blog-card img {
    height: 200px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 2.5rem;
    padding-top: 200px;
}
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .blog-card img {
    height: 200px;
  }
}

/* Specific responsive adjustments */

/* Navigation */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding: 20px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

/* Hero Section Text Alignment */
@media (max-width: 767.98px) {
  .hero-section .text-start {
    text-align: center !important;
  }
  
  .hero-section .text-end {
    text-align: center !important;
  }
}

/* Service Cards Grid */
@media (max-width: 767.98px) {
  .service-card {
    max-width: 400px;
    margin: 0 auto 20px;
  }
}

/* Team Cards */
@media (max-width: 767.98px) {
  .team-card {
    max-width: 300px;
    margin: 0 auto 20px;
  }
}

/* Price Cards */
@media (max-width: 991.98px) {
  .price-card.featured {
    transform: scale(1);
    margin-bottom: 30px;
  }
}

/* Process Steps */
@media (max-width: 767.98px) {
  .process-step::before {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

/* Timeline */
@media (max-width: 767.98px) {
  .timeline-item::before {
    width: 15px;
    height: 15px;
    left: 15px;
  }
  
  .timeline-item::after {
    left: 22px;
  }
}

/* Contact Form */
@media (max-width: 767.98px) {
  .contact-form .row {
    margin-bottom: 15px;
  }
  
  .contact-form .form-control {
    margin-bottom: 15px;
  }
}

/* Gallery Grid */
@media (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 15px;
  }
}

/* Blog Cards */
@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 20px;
  }
}

/* FAQ Cards */
@media (max-width: 767.98px) {
  .faq-card {
    margin-bottom: 15px;
    padding: 20px;
  }
}

/* Footer */
@media (max-width: 767.98px) {
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 30px;
  }
}

/* Utility Classes for Responsive Design */
.mobile-center {
  text-align: center;
}

@media (min-width: 768px) {
  .mobile-center {
    text-align: left;
  }
}

.mobile-hide {
  display: none;
}

@media (min-width: 768px) {
  .mobile-hide {
    display: block;
  }
}

/* Responsive Typography */
@media (max-width: 575.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .price-card .price {
    font-size: 2.5rem;
  }
}

/* Responsive Spacing */
@media (max-width: 767.98px) {
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .mt-5 {
    margin-top: 2rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Image Responsiveness */
@media (max-width: 767.98px) {
  .service-card img {
    width: 60px;
    height: 60px;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-info-item i {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Responsive Grid Adjustments */
@media (max-width: 991.98px) {
  .col-lg-4 {
    margin-bottom: 30px;
  }
  
  .col-lg-6 {
    margin-bottom: 30px;
  }
  
  .col-lg-3 {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  .col-md-6 {
    margin-bottom: 20px;
  }
  
  .col-md-4 {
    margin-bottom: 20px;
  }
}

/* Responsive Buttons */
@media (max-width: 575.98px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Responsive Forms */
@media (max-width: 575.98px) {
  .form-control {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .decorative-blob,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 20px 0;
  }
  
  .section-padding {
    padding: 30px 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .review-card,
  .case-study-card,
  .career-card,
  .core-info-card,
  .faq-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
} 