/* ===== RESPONSIVE STYLES ===== */

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 3rem;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 1.5rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Medium Screens (992px to 1199px) */
@media (max-width: 1199.98px) {
  .hero-section {
    padding-top: 80px;
  }
  
  .hero-section h1 {
    font-size: 2.25rem;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 1.125rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
}

/* Small to Medium Screens (768px to 991px) */
@media (max-width: 991.98px) {
  /* Navigation */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem !important;
    text-align: center;
  }
  
  /* Hero Section */
  .hero-section {
    padding-top: 60px;
    min-height: 80vh;
  }
  
  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  /* Typography */
  h1 {
    font-size: 1.875rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Sections */
  section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  /* Features */
  .feature-item {
    padding: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto 1rem auto;
  }
  
  /* Process */
  .process-number {
    margin-bottom: 1rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  /* Team */
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  /* Pricing */
  .price {
    font-size: 1.25rem;
  }
  
  /* Gallery */
  .gallery .col-lg-3,
  .gallery .col-md-4 {
    margin-bottom: 1rem;
  }
}

/* Small Screens (576px to 767px) */
@media (max-width: 767.98px) {
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding-top: 50px;
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-section p {
    font-size: 0.875rem;
  }
  
  /* Sections */
  section {
    padding: 1.5rem 0;
  }
  
  .section-title {
    margin-bottom: 1.5rem;
  }
  
  .section-title h2 {
    margin-bottom: 0.5rem;
  }
  
  .section-title h3 {
    margin-bottom: 0.75rem;
  }
  
  /* Cards */
  .card-body {
    padding: 1rem;
  }
  
  /* Buttons */
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Form */
  .form-control {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  /* Contact Info */
  .contact-info {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  /* Footer */
  footer {
    text-align: center;
  }
  
  footer .col-lg-4 {
    margin-bottom: 1.5rem;
  }
  
  /* Process Steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Timeline */
  .timeline-year {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Feature Icons */
  .feature-icon {
    width: 50px;
    height: 50px;
  }
  
  /* Gallery Grid */
  .gallery .col-lg-3,
  .gallery .col-md-4,
  .gallery .col-6 {
    margin-bottom: 0.75rem;
  }
}

/* Extra Small Screens (up to 575px) */
@media (max-width: 575.98px) {
  /* Container */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Typography */
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1rem;
  }
  
  h4 {
    font-size: 0.875rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding-top: 40px;
    min-height: 60vh;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-section p {
    font-size: 0.75rem;
  }
  
  /* Sections */
  section {
    padding: 1rem 0;
  }
  
  .section-title {
    margin-bottom: 1rem;
  }
  
  /* Cards */
  .card {
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 0.75rem;
  }
  
  .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  /* Buttons */
  .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Form */
  .form-control {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  .form-check-label {
    font-size: 0.75rem;
  }
  
  /* Process and Timeline */
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  
  .timeline-year {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
  }
  
  /* Feature Icons */
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  
  .feature-icon i {
    font-size: 1rem;
  }
  
  /* Price */
  .price {
    font-size: 1rem;
  }
  
  /* Contact Section */
  .contact-info p {
    font-size: 0.75rem;
  }
  
  /* Footer */
  footer {
    padding: 1.5rem 0 !important;
  }
  
  footer h5,
  footer h6 {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  footer p,
  footer a {
    font-size: 0.75rem;
  }
  
  footer .col-lg-4 {
    margin-bottom: 1rem;
  }
  
  /* Breadcrumb */
  .breadcrumb-icon {
    width: 20px;
    height: 20px;
  }
  
  /* Team Grid */
  .team-member {
    margin-bottom: 1rem;
  }
  
  .team-member .card-body {
    padding: 0.5rem;
  }
  
  .team-member h6 {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }
  
  .team-member p {
    font-size: 0.625rem;
    margin-bottom: 0;
  }
}

/* ===== MOBILE-SPECIFIC RULES ===== */
@media (max-width: 768px) {
  /* Disable all animations on mobile as per requirements */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Remove hover effects on mobile */
  .card:hover {
    transform: none;
    box-shadow: var(--box-shadow-md);
  }
  
  .btn:hover {
    transform: none;
  }
  
  .feature-item:hover {
    background-color: transparent;
  }
  
  .timeline-item:hover {
    transform: none;
  }
  
  .gallery img:hover {
    transform: none;
    box-shadow: none;
  }
  
  /* Improve touch targets */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .form-control {
    min-height: 44px;
  }
  
  .form-check-input {
    width: 20px;
    height: 20px;
  }
  
  /* Optimize spacing for mobile */
  .hero-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  
  .col-6,
  .col-md-4,
  .col-lg-3,
  .col-lg-4,
  .col-lg-6 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  /* Hide interactive elements */
  .navbar,
  .btn,
  footer,
  .hero-section::before {
    display: none !important;
  }
  
  /* Optimize text for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black !important;
    background: white !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
    page-break-after: avoid;
  }
  
  .card {
    border: 1px solid #d3c4c6;
    box-shadow: none;
    page-break-inside: avoid;
  }
  
  /* Ensure proper page breaks */
  section {
    page-break-inside: avoid;
  }
  
  .hero-section {
    padding-top: 0;
    background: none !important;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #1107ff;
    --secondary-color: #04970a;
    --accent-color: #ec2103;
    --success-color: #15960f;
    --warning-color: #eebb00;
    
    --dark-gray: #000000;
    --medium-gray: #2b2827;
    --light-gray: #cdcdcd;
    --white: #FFFFFF;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .card {
    border: 1px solid var(--dark-gray);
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-section::before {
    backdrop-filter: none;
  }
} 