/* ============================================
   RESPONSIVE STYLES - MOBILE OPTIMIZATION
   ============================================ */

/* Mobile First Approach - Base styles for mobile */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  
  .hero-section {
    padding: 100px 0;
  }
  
  .section-padding {
    padding: 100px 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }
  
  .hero-section {
    padding: 80px 0;
  }
  
  .section-padding {
    padding: 80px 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-section {
    padding: 60px 0;
    min-height: 80vh;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-decorative-shape {
    width: 150px;
    height: 150px;
    top: 15%;
    right: 5%;
  }
  
  .hero-decorative-shape::before {
    width: 100px;
    height: 100px;
    top: -30px;
    left: -30px;
  }
  
  .service-card-image {
    height: 180px;
  }
  
  .team-member-photo {
    height: 220px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  
  .hero-section {
    padding: 40px 0;
    min-height: 70vh;
    text-align: center;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .hero-decorative-shape {
    display: none;
  }
  
  .about-feature-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-card-image {
    height: 160px;
  }
  
  .team-member-photo {
    height: 200px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-price {
    font-size: 2.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info-item {
    margin-bottom: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Conservative Typography for Mobile */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
  
  p {
    font-size: 0.9rem;
  }
  
  /* Conservative Navbar Brand for Mobile */
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    padding: 30px 0;
    min-height: 60vh;
    text-align: center;
  }
  
  .hero-decorative-shape {
    display: none;
  }
  
  /* Section Padding Mobile */
  .section-padding {
    padding: 40px 0;
  }
  
  /* Cards and Components Mobile */
  .about-feature-card {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card-image {
    height: 140px;
  }
  
  .service-card-body {
    padding: 1rem;
    overflow-x: hidden;
}
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .team-member-photo {
    height: 180px;
  }
  
  .team-member-info {
    padding: 1rem;
  }
  
  .review-card {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .casestudy-card {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .process-step {
    padding: 1rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .career-card {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .coreinfo-item {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Contact Section Mobile */
  .contact-form {
    padding: 1rem;
  }
  
  .contact-info-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
  }
  
  .contact-info-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  /* Blog Cards Mobile */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-card-image {
    height: 160px;
  }
  
  .blog-card-body {
    padding: 1rem;
    overflow-x: hidden;
}
  
  /* FAQ Mobile */
  .faq-card {
    padding: 1rem;
  }
  
  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .gallery-item {
    height: 150px;
  }
  
  /* Pricing Cards Mobile */
  .pricing-card {
    margin-bottom: 1.5rem;
    padding: 1rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured::before {
    top: -10px;
    padding: 5px 15px;
    font-size: 0.8rem;
  }
  
  .pricing-price {
    font-size: 2rem;
  }
  
  /* Buttons Mobile */
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 40px 0 15px;
  }
  
  .footer h5 {
    font-size: 1rem;
  }
  
  .footer-copyright {
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.8rem;
  }
  
  /* Breadcrumb Mobile */
  .breadcrumb-container {
    padding: 15px 0;
  }
  
  .breadcrumb-image {
    height: 30px;
  }
}

/* ============================================
   MOBILE ANIMATION RESTRICTIONS
   ============================================ */

/* NO animations when scrolling in mobile resolution */
@media (max-width: 767.98px) {
  /* Disable scroll animations on mobile */
  [data-sal],
  [data-scroll-reveal],
  .sal-animate,
  .sr-animate {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
  }
  
  /* Disable hover effects on mobile */
  .about-feature-card:hover,
  .service-card:hover,
  .team-member-card:hover,
  .casestudy-card:hover,
  .career-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  /* Disable button hover effects on mobile */
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* ============================================
   ACCESSIBILITY - MOBILE SPECIFIC
   ============================================ */

/* Larger touch targets for mobile */
@media (max-width: 767.98px) {
  .btn,
  .navbar-toggler,
  .nav-link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improved form inputs for mobile */
  .form-control,
  .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px;
  }
  
  /* Better spacing for mobile navigation */
  .navbar-nav .nav-link {
    padding: 15px 20px;
  }
}

/* ============================================
   CUSTOM MOBILE MENU (Standard Bootstrap 5)
   ============================================ */

/* Standard Bootstrap 5 navbar toggler - no customization */
.navbar-toggler {
  border: 1px solid var(--color-primary);
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2874, 144, 226, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Standard Bootstrap 5 collapse behavior */
.navbar-collapse {
  background-color: white;
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .nav-link {
    color: var(--color-primary-dark) !important;
    font-weight: 500;
    border-bottom: 1px solid var(--color-neutral-light);
    margin-bottom: 5px;
  }
  
  .nav-link:hover {
    background-color: var(--color-primary-light);
    border-radius: 5px;
  }
}

/* ============================================
   ORIENTATION SPECIFIC STYLES
   ============================================ */

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
    padding: 20px 0;
  }
  
  .section-padding {
    padding: 30px 0;
  }
}

/* Portrait orientation on mobile */
@media (max-width: 767.98px) and (orientation: portrait) {
  .hero-section {
    min-height: 60vh;
    padding: 30px 0;
  }
  
  .gallery-item {
    height: 200px;
  }
}


.hero-section h1 {
    padding-top: 200px;
}