/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.910px) {
  /* Typography adjustments */
  .navbar-brand {
    font-size: 1.28rem;
  }
  
  h1, .display-4 {
    font-size: 1.90rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.58rem;
    line-height: 1.3;
  }
  
  h3, h4 {
    font-size: 1.46rem;
  }
  
  h5 {
    font-size: 1.28rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Section spacing */
  section {
    padding: 2.5rem 0;
  }
  
  /* Hero section */
  #hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  #hero .container {
    text-align: center;
  }
  
  #hero .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  /* Card adjustments */
  .card {
    margin-bottom: 1.70rem;
  }
  
  .card-body {
    padding: 1.5rem;
    overflow-x: hidden;
}
  
  /* Form adjustments */
  .form-control {
    padding: 1rem;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .btn {
    padding: 1rem 1.5rem;
    font-size: 16px;
  }
  
  /* Team member images */
  .rounded-circle {
    width: 100px;
    height: 100px;
  }
  
  /* Contact info */
  .contact-info {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  /* Footer adjustments */
  #footer {
    text-align: center;
  }
  
  #footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Process steps - stack vertically */
  #process .col-lg-2 {
    margin-bottom: 2rem;
  }
  
  /* Timeline - stack vertically */
  #timeline .col-lg-2 {
    margin-bottom: 2rem;
  }
  
  /* Gallery - 2 columns on mobile */
  #gallery .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Services grid - 1 column on mobile */
  #services .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Features - 2 columns on mobile */
  #e4d195tures .col-lg-3,
  #about .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  
  /* Pricing - stack cards */
  #priceplan .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Team - 2 columns on mobile */
  #team .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  
  /* Reviews - 1 column on mobile */
  #reviews .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Case studies - 1 column on mobile */
  #casestudy .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Core info - 2 columns on mobile */
  #coreinfo .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  
  /* Blog - 1 column on mobile */
  #blog .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* FAQ - 1 column on mobile */
  #faq .col-md-6 {
    margin-bottom: 1rem;
  }
  
  /* Career - 1 column on mobile */
  #career .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Additional pages - responsive adjustments */
  #87bccc_page_1_sec_1 .col-lg-2,
  #d3f9f4_page_1_sec_2 .col-lg-2,
  #9ad4d7_page_1_sec_3 .col-lg-2,
  #8bcbce_page_1_sec_4 .col-lg-2,
  #b5dce1_page_1_sec_5 .col-lg-2,
  #e2fff7_page_2_sec_1 .col-lg-2,
  #8ac8be_page_2_sec_2 .col-lg-2,
  #8fbfc1_page_2_sec_3 .col-lg-2,
  #cce7e8_page_2_sec_4 .col-lg-2,
  #98b5bd_page_2_sec_5 .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  
  /* NO ANIMATIONS ON MOBILE - Following the rules */
  * {
    animation: none;
    transition: none;
  }
  
  .card:hover {
    transform: none;
    box-shadow: 0 8px 6px rgba(0, 0, 0, 0.05);
  }
  
  .btn:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography adjustments */
  .navbar-brand {
    font-size: 1.30rem;
  }
  
  h1, .display-4 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.97rem;
  }
  
  /* Section spacing */
  section {
    padding: 3rem 0;
  }
  
  /* Hero section */
  #hero {
    min-height: 75vh;
  }
  
  /* Gallery - 3 columns */
  #gallery .col-md-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  /* Features - 2 columns */
  #fff6c1tures .col-lg-3,
  #about .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  
  /* Team - 3 columns */
  #team .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-bottom: 2rem;
  }
  
  /* Core info - 2 columns */
  #coreinfo .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  
  /* Additional pages - 3 columns */
  #bfe1e1_page_1_sec_1 .col-lg-2,
  #9cf2e6_page_1_sec_2 .col-lg-2,
  #96d3d7_page_1_sec_3 .col-lg-2,
  #bbe9ec_page_1_sec_4 .col-lg-2,
  #8ac6bd_page_1_sec_5 .col-lg-2,
  #cdf5ff_page_2_sec_1 .col-lg-2,
  #a3ede3_page_2_sec_2 .col-lg-2,
  #9ad0c7_page_2_sec_3 .col-lg-2,
  #afced0_page_2_sec_4 .col-lg-2,
  #9cd3d7_page_2_sec_5 .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-bottom: 2rem;
  }
  
  /* NO ANIMATIONS ON MOBILE - Following the rules */
  * {
    animation: none;
    transition: none;
  }
  
  .card:hover {
    transform: none;
    box-shadow: 0 8px 6px rgba(0, 0, 0, 0.05);
  }
  
  .btn:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Typography adjustments */
  h1, .display-4 {
    font-size: 2.47rem;
  }
  
  /* Section spacing */
  section {
    padding: 3.5rem 0;
  }
  
  /* Hero section */
  #hero {
    min-height: 85vh;
  }
  
  /* Team - 4 columns */
  #team .col-lg-2 {
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 2rem;
  }
  
  /* Process and Timeline - 3 columns */
  #process .col-lg-2,
  #timeline .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-bottom: 2rem;
  }
  
  /* Additional pages - 3 columns */
  #95bec1_page_1_sec_1 .col-lg-2,
  #94b8bb_page_1_sec_2 .col-lg-2,
  #c4f5f2_page_1_sec_3 .col-lg-2,
  #95cad6_page_1_sec_4 .col-lg-2,
  #c8f5ff_page_1_sec_5 .col-lg-2,
  #add9d0_page_2_sec_1 .col-lg-2,
  #93d8e4_page_2_sec_2 .col-lg-2,
  #b1d2d0_page_2_sec_3 .col-lg-2,
  #b5eaff_page_2_sec_4 .col-lg-2,
  #9dbabd_page_2_sec_5 .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Section spacing */
  section {
    padding: 4rem 0;
  }
  
  /* Process and Timeline - 4 columns */
  #process .col-lg-2,
  #timeline .col-lg-2 {
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 2rem;
  }
  
  /* Additional pages - 4 columns */
  #92ebeb_page_1_sec_1 .col-lg-2,
  #b8d9d8_page_1_sec_2 .col-lg-2,
  #bbcdce_page_1_sec_3 .col-lg-2,
  #a1c8d4_page_1_sec_4 .col-lg-2,
  #c0efe6_page_1_sec_5 .col-lg-2,
  #a1f4eb_page_2_sec_1 .col-lg-2,
  #8bb4b4_page_2_sec_2 .col-lg-2,
  #9fc8c3_page_2_sec_3 .col-lg-2,
  #96bcc5_page_2_sec_4 .col-lg-2,
  #c4e2e6_page_2_sec_5 .col-lg-2 {
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Section spacing */
  section {
    padding: 5rem 0;
  }
  
  /* Hero section */
  #hero {
    min-height: 100vh;
  }
  
  /* Full 5 columns layout for process and timeline */
  #process .col-lg-2,
  #timeline .col-lg-2 {
    margin-bottom: 2rem;
  }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Increase section padding for very large screens */
  section {
    padding: 6rem 0;
  }
}

/* Print styles */
@media print {
  * {
    background: white;
    color: black;
    box-shadow: none;
    text-shadow: none;
  }
  
  .navbar,
  #footer,
  .btn {
    display: none;
  }
  
  section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--text-primary);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-dark);
  }
  
  .form-control {
    border: 2px solid var(--text-primary);
  }
}

/* Reduced data mode */
@media (prefers-reduced-data: reduce) {
  #hero::before {
    display: none;
  }
  
  .card-img-top {
    display: none;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 90vh;
  }
  
  section {
    padding: 2rem 0;
  }
} 