/* =========================
   RESPONSIVE STYLES
   Mobile-First Approach
   ========================= */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero {
    min-height: 60vh;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.54rem;
    line-height: 1.4;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .service-card,
  .feature-item,
  .team-card,
  .price-card {
    margin-bottom: 1.72rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .feature-item i {
    font-size: 2.64rem;
  }
  
  .price-card .price {
    font-size: 2rem;
  }
  
  section {
    padding: 1.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .btn {
    font-size: 0.98rem;
    padding: 0.5rem 1rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 1.77rem;
  }
  
  .service-card,
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .team-card img {
    height: 180px;
  }
  
  section {
    padding: 2.5rem 0;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .feature-item {
    padding: 1.75rem;
  }
  
  .team-card img {
    height: 220px;
  }
  
  .price-card .price {
    font-size: 2.38rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Large Devices (desktops, 994px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero {
    min-height: 90vh;
  }
  
  .hero-content h1 {
    font-size: 2.32rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .feature-item {
    padding: 2rem;
  }
  
  .team-card img {
    height: 240px;
  }
  
  section {
    padding: 3.5rem 0;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-content h1 {
    font-size: 2.56rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .feature-item {
    padding: 2.5rem;
  }
  
  .team-card img {
    height: 260px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Responsive Typography */
@media (max-width: 767.98px) {
  h1 {
    font-size: 1.90rem;
  }
  
  h2 {
    font-size: 1.59rem;
  }
  
  h3 {
    font-size: 1.27rem;
  }
  
  h4 {
    font-size: 1.22rem;
  }
  
  p {
    font-size: 0.98rem;
  }
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Responsive Images */
@media (max-width: 767.98px) {
  .gallery img {
    height: 150px;
    margin-bottom: 0.97rem;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .team-card img {
    height: 150px;
  }
  
  .service-card img {
    width: 60px;
    height: 60px;
  }
}

/* Responsive Forms */
@media (max-width: 575.98px) {
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    font-size: 1rem;
    padding: 0.6rem;
  }
  
  .btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Responsive Cards and Components */
@media (max-width: 767.98px) {
  .review-card,
  .faq-card,
  .case-study-card,
  .career-item,
  .process-item,
  .timeline-item {
    padding: 1.5rem;
  }
  
  .core-info-item {
    padding: 1.25rem;
  }
  
  .core-info-item i {
    font-size: 2rem;
  }
}

/* Responsive Spacing */
@media (max-width: 575.98px) {
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Responsive Footer */
@media (max-width: 767.98px) {
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  footer .col-md-3,
  footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  footer .col-md-3:last-child,
  footer .col-md-4:last-child {
    margin-bottom: 0;
  }
}

/* Responsive Utilities */
.d-block-mobile {
  display: none !important;
}

.d-none-mobile {
  display: block !important;
}

@media (max-width: 767.98px) {
  .d-block-mobile {
    display: block !important;
  }
  
  .d-none-mobile {
    display: none !important;
  }
}

/* Text Alignment Utilities */
@media (max-width: 767.98px) {
  .text-center-mobile {
    text-align: center !important;
  }
  
  .text-left-mobile {
    text-align: left !important;
  }
}

/* Responsive Margin and Padding */
@media (max-width: 575.98px) {
  .mb-mobile-2 {
    margin-bottom: 1rem !important;
  }
  
  .mb-mobile-3 {
    margin-bottom: 1.73rem !important;
  }
  
  .mt-mobile-2 {
    margin-top: 1rem !important;
  }
  
  .mt-mobile-3 {
    margin-top: 1.64rem !important;
  }
  
  .p-mobile-1 {
    padding: 0.5rem !important;
  }
  
  .p-mobile-2 {
    padding: 1rem !important;
  }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-size: cover;
  }
  
  .service-card,
  .feature-item,
  .team-card,
  .price-card,
  .review-card,
  .faq-card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer,
  .shape {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  .service-card,
  .feature-item,
  .team-card,
  .price-card,
  .review-card,
  .faq-card {
    border: 1px solid #ded1d2;
    box-shadow: none;
    page-break-inside: avoid;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  img {
    max-width: 100% !important;
    height: auto !important;
  }
} 