/* Responsive Styles for Remote Coworking Accountability Software */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title-1 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .custom-card {
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* No animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title-1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .custom-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Reduced animations on small screens */
  .custom-card:hover {
    transform: translateY(-2px);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title-1 {
    font-size: 2.25rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .gallery-item img {
    height: 225px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title-1 {
    font-size: 2.75rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Navbar Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Grid Adjustments */
@media (max-width: 767.98px) {
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
  
  .services-grid .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .team-grid .col-md-4,
  .team-grid .col-lg-2 {
    margin-bottom: 2rem;
  }
  
  .features-grid .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  .priceplan-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
}

/* Typography Responsive */
@media (max-width: 575.98px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.875rem; }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem !important;
  }
}

/* Button Responsive */
@media (max-width: 575.98px) {
  .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
}

/* Card Responsive */
@media (max-width: 767.98px) {
  .custom-card {
    padding: 1.5rem;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
}

/* Form Responsive */
@media (max-width: 575.98px) {
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}

/* Hero Section Responsive */
@media (max-width: 767.98px) {
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none;
  }
  
  .hero-content {
    padding: 2rem 0;
    padding-top: 125px;
}
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Gallery Responsive */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 0.5rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* Process Steps Responsive */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 3rem;
  }
  
  .process-steps .col-md-2 {
    margin-bottom: 2rem;
  }
}

/* Timeline Responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 3rem;
  }
}

/* FAQ Responsive */
/* Very small devices (very small phones, less than 320px) */
@media (max-width: 319.98px) {
  .faq-card {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    border-left-width: 2px;
  }
  
  .faq-question {
    font-size: 0.8rem;
    line-height: 1.25;
    margin-bottom: 0.4rem;
  }
  
  .faq-answer {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  #faq {
    padding: 1.5rem 0;
  }
  
  #faq .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  #gallery {
    margin-top: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .faq-card {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
  }
  
  .faq-question {
    font-size: 0.875rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  
  .faq-answer {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  /* FAQ Section spacing */
  #faq {
    padding: 2rem 0;
  }
  
  #faq .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Ensure proper spacing after FAQ section */
  #gallery {
    margin-top: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .faq-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 10px;
  }
  
  .faq-question {
    font-size: 0.9rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }
  
  .faq-answer {
    font-size: 0.85rem;
    line-height: 1.55;
  }
  
  #faq {
    padding: 2.5rem 0;
  }
  
  #gallery {
    margin-top: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }
  
  .faq-question {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
  
  #faq {
    padding: 3rem 0;
  }
  
  #gallery {
    margin-top: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .faq-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .faq-question {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .faq-answer {
    font-size: 1rem;
  }
  
  #faq {
    padding: 4rem 0;
  }
  
  #gallery {
    margin-top: 3rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .faq-card {
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 16px;
  }
  
  .faq-question {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
  }
  
  .faq-answer {
    font-size: 1.05rem;
    line-height: 1.7;
  }
  
  #faq {
    padding: 5rem 0;
  }
  
  #faq .col-lg-8 {
    max-width: 80%;
  }
  
  #gallery {
    margin-top: 4rem;
  }
}

/* Blog Grid Responsive */
@media (max-width: 767.98px) {
  #blog_grid .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
}

/* Utilities for responsive design */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 767.98px) {
  .mobile-only {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .btn,
  #footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
  }
} 

body {
    overflow-x: hidden;
}