/* === RESPONSIVE DESIGN === */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Typography adjustments */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.375rem;
  }
  
  /* Navbar adjustments */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.375rem 0.75rem;
    margin: 0 0.125rem;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 2rem;
    padding-top: 100px;
}
  
  /* Card adjustments */
  .card-img-top {
    height: 180px;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Spacing adjustments */
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2.5rem;
  }
  
  /* Decorative blobs */
  .blob-1 {
    width: 250px;
    height: 250px;
  }
  
  .blob-2 {
    width: 180px;
    height: 180px;
  }
  
  .blob-3 {
    width: 120px;
    height: 120px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography adjustments */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.125rem;
  }
  
  /* Base font size adjustment */
  body {
    font-size: 0.9rem;
  }
  
  /* Navbar adjustments */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.375rem 0.5rem;
    margin: 0.125rem;
    font-size: 0.9rem;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content {
    margin-bottom: 2rem;
    padding-top: 100px;
}
  
  .hero-title {
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    margin-bottom: 1.5rem;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  /* Card adjustments */
  .card-img-top {
    height: 160px;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .service-icon {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Spacing adjustments */
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  /* Decorative blobs */
  .blob-1 {
    width: 200px;
    height: 200px;
  }
  
  .blob-2 {
    width: 150px;
    height: 150px;
  }
  
  .blob-3 {
    width: 100px;
    height: 100px;
  }
}

/* === DISABLE SCROLL ANIMATIONS ON MOBILE === */
@media (max-width: 768px) {
  /* Disable all scroll-triggered animations */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Disable fade-in animations */
  .fade-in-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Disable hover animations on cards */
  .card:hover {
    transform: none !important;
  }
  
  /* Disable service card hover effects */
  .service-card:hover {
    transform: none !important;
  }
  
  /* Disable team photo animations */
  .team-photo:hover {
    transform: none !important;
  }
  
  /* Disable button hover animations */
  .btn:hover {
    transform: none !important;
  }
  
  /* Disable image hover effects */
  .card:hover .card-img-top {
    transform: none !important;
  }
  
  /* Ensure all elements are immediately visible */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  h4 {
    font-size: 1rem;
  }
  
  h5 {
    font-size: 0.95rem;
  }
  
  /* Base font size adjustment */
  body {
    font-size: 0.875rem;
  }
  
  /* Navbar adjustments */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 0.95rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
    font-size: 0.875rem;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 1.5rem 0;
  }
  
  .hero-content {
    margin-bottom: 1.5rem;
    padding-top: 100px;
}
  
  .hero-title {
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    margin-bottom: 1.25rem;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    width: 100%;
    margin-bottom: 0.75rem;
  }
  
  .btn:last-child {
    margin-bottom: 0;
  }
  
  /* Card adjustments */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card-img-top {
    height: 140px;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-text {
    font-size: 0.85rem;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .service-price {
    font-size: 1.125rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .team-name {
    font-size: 1rem;
  }
  
  .team-role {
    font-size: 0.8rem;
  }
  
  /* Spacing adjustments */
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .form-label {
    font-size: 0.875rem;
  }
  
  /* FAQ adjustments */
  .faq-question {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  /* Testimonial adjustments */
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  .testimonial-author {
    font-size: 0.875rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 1.5rem 0 1rem;
    text-align: center;
  }
  
  .footer h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer p,
  .footer a {
    font-size: 0.8rem;
  }
  
  /* Container adjustments */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Remove decorative blobs on mobile */
  .blob-shape {
    display: none;
  }
  
  /* Stack columns on mobile */
  .row > .col-lg-6,
  .row > .col-md-6,
  .row > .col-sm-6 {
    margin-bottom: 2rem;
  }
  
  .row > .col-lg-4,
  .row > .col-md-4,
  .row > .col-sm-4 {
    margin-bottom: 1.5rem;
  }
  
  .row > .col-lg-3,
  .row > .col-md-3,
  .row > .col-sm-3 {
    margin-bottom: 1.5rem;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .navbar {
    padding: 0.375rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .faq-question,
  .blob-shape {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 { font-size: 24pt; }
  h2 { font-size: 20pt; }
  h3 { font-size: 18pt; }
  h4 { font-size: 16pt; }
  h5 { font-size: 14pt; }
  h6 { font-size: 12pt; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-gray-600: #000000;
    --color-gray-700: #000000;
    --color-gray-800: #000000;
    --color-gray-900: #000000;
  }
  
  .card {
    border: 2px solid #000000;
  }
  
  .btn {
    border: 2px solid #000000;
  }
  
  .form-control {
    border: 2px solid #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .team-photo:hover {
    transform: none;
  }
  
  .card-img-top {
    transition: none;
  }
  
  .fade-in-up {
    animation: none;
  }
}

/* Dark mode support (optional) */