/* Responsive Design - Mobile First Approach */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.64rem;
    padding-top: 125px;
}
  
  .hero-subtitle {
    font-size: 1.86rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-title {
    font-size: 2.57rem;
    padding-top: 125px;
}
  
  .hero-subtitle {
    font-size: 1.64rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
    padding-top: 125px;
}
  
  .hero-subtitle {
    font-size: 1.37rem;
  }
  
  .hero-desc {
    font-size: 0.97rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .service-card {
    margin-bottom: 1.65rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .process-step h4 {
    margin-top: 3rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 0.99rem;
    padding-top: 125px;
}
  
  .hero-subtitle {
    font-size: 1.17rem;
    margin-bottom: 0.87rem;
  }
  
  .hero-desc {
    font-size: 1.02rem;
    margin-bottom: 1.58rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.55rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 0.98rem;
    margin-bottom: 2rem;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1.33rem;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Cards and Components */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.69rem;
  }
  
  .service-card h4 {
    font-size: 1.25rem;
  }
  
  .service-card .price {
    font-size: 1.36rem;
  }
  
  .price-plan {
    padding: 1.5rem;
    margin-bottom: 1.64rem;
  }
  
  .price-plan .price {
    font-size: 1.60rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .feature-item i {
    font-size: 2.64rem;
  }
  
  .feature-item h4 {
    font-size: 1.27rem;
  }
  
  .team-member {
    padding: 0.75rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .team-member h5 {
    font-size: 1rem;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.60rem;
  }
  
  .case-study {
    padding: 1.5rem;
  }
  
  .case-study h4 {
    font-size: 1.19rem;
  }
  
  .process-step {
    padding: 1rem;
    margin-bottom: 1.59rem;
  }
  
  .process-step::before {
    width: 50px;
    height: 50px;
    font-size: 1.31rem;
  }
  
  .process-step h4 {
    margin-top: 2.68rem;
    font-size: 1.18rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
    margin-bottom: 1.69rem;
  }
  
  .timeline-item::before {
    width: 12px;
    height: 12px;
  }
  
  .timeline-item h4 {
    font-size: 1.17rem;
  }
  
  .career-position {
    padding: 1.5rem;
  }
  
  .career-position h4 {
    font-size: 1.19rem;
  }
  
  .core-info-item {
    padding: 1.5rem;
  }
  
  .core-info-item h4 {
    font-size: 1.23rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-form .form-control {
    padding: 0.625rem;
  }
  
  .contact-form .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.98rem;
  }
  
  .blog-post {
    padding: 1.5rem;
  }
  
  .blog-post h4 {
    font-size: 1.18rem;
  }
  
  .faq-question {
    padding: 0.75rem;
    font-size: 0.92rem;
  }
  
  .faq-answer {
    padding: 0.75rem;
    font-size: 0.90rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer h5 {
    font-size: 1rem;
    margin-bottom: 0.98rem;
  }
  
  .footer .copyright {
    font-size: 0.89rem;
    padding-top: 1.55rem;
    margin-top: 1.71rem;
  }
  
  /* Utilities */
  .btn-gradient {
    padding: 0.625rem 1.5rem;
    font-size: 0.90rem;
  }
  
  .breadcrumb-img {
    height: 150px;
    margin-bottom: 1.69rem;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
    padding-top: 125px;
}
  
  .hero-subtitle {
    font-size: 1.33rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .btn-gradient {
    display: none;
  }
  
  .hero {
    min-height: auto;
    background: white;
    color: black;
  }
  
  .hero::before {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .service-card,
  .price-plan,
  .review-card,
  .case-study,
  .career-position,
  .core-info-item,
  .blog-post,
  .faq-item {
    box-shadow: none;
    border: 1px solid #e2e2e2;
  }
  
  .gallery-item {
    page-break-inside: avoid;
  }
  
  .contact-form {
    display: none;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  .text-gradient {
    -webkit-text-fill-color: black;
    color: black;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #115e20;
    --primary-blue: #0356b5;
    --primary-orange: #b57218;
    --primary-purple: #55145b;
    --primary-teal: #054537;
    --text-primary: #000000;
    --text-secondary: #393939;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f0f0;
  }
  
  .service-card,
  .price-plan,
  .review-card,
  .case-study,
  .career-position,
  .core-info-item,
  .blog-post,
  .faq-item,
  .contact-form {
    border: 2px solid #342f30;
  }
  
  .form-control {
    border: 2px solid #282828;
  }
  
  .form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  
  .service-card:hover,
  .price-plan:hover,
  .gallery-item:hover img,
  .btn:hover,
  .btn-gradient:hover {
    transform: none;
  }
  
  .navbar-nav .nav-link,
  .footer a,
  .form-control,
  .gallery-item img {
    transition: none;
  }
} 