/* Responsive Design for Mobile and Tablet */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .timeline-card::before {
    left: -20px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .timeline-card::before {
    left: -15px;
    width: 10px;
    height: 10px;
  }
  
  .priceplan-card.featured {
    transform: none;
    margin-top: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  :root {
    --section-padding: 2rem 0;
    --font-size-xxl: 1.375rem;
    --font-size-xl: 1.125rem;
    --font-size-lg: 1rem;
  }
  
  /* Disable Sal.js animations on mobile */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Disable all Sal.js animation states */
  [data-sal="fade-up"],
  [data-sal="fade-down"], 
  [data-sal="fade-left"],
  [data-sal="fade-right"],
  [data-sal="slide-up"],
  [data-sal="slide-down"],
  [data-sal="slide-left"],
  [data-sal="slide-right"],
  [data-sal="zoom-in"],
  [data-sal="zoom-out"],
  [data-sal="flip-up"],
  [data-sal="flip-down"],
  [data-sal="flip-left"],
  [data-sal="flip-right"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  .navbar.navbar-light .navbar-brand {
    font-size: var(--font-size-base);
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .priceplan-price {
    font-size: 1.52rem;
  }
  
  .timeline-card {
    margin-left: 1rem;
  }
  
  .timeline-card::before {
    left: -10px;
    width: 8px;
    height: 8px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .blog-card .card-img-top {
    height: 150px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 1.5rem 0;
    --font-size-xxl: 1.25rem;
    --font-size-xl: 1rem;
    --font-size-lg: 0.9rem;
  }
  
  /* Disable Sal.js animations on mobile */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Disable all Sal.js animation states */
  [data-sal="fade-up"],
  [data-sal="fade-down"], 
  [data-sal="fade-left"],
  [data-sal="fade-right"],
  [data-sal="slide-up"],
  [data-sal="slide-down"],
  [data-sal="slide-left"],
  [data-sal="slide-right"],
  [data-sal="zoom-in"],
  [data-sal="zoom-out"],
  [data-sal="flip-up"],
  [data-sal="flip-down"],
  [data-sal="flip-left"],
  [data-sal="flip-right"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 0;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .priceplan-price {
    font-size: 1.35rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .blog-card .card-img-top {
    height: 120px;
  }
  
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .timeline-card {
    margin-left: 0.5rem;
  }
  
  .timeline-card::before {
    left: -8px;
    width: 6px;
    height: 6px;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  :root {
    --section-padding: 2rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
}

/* Print styles */
@media print {
  .hero-section {
    min-height: auto;
    background: white;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #e0ced0;
  }
  
  .navbar,
  .contact-form,
  footer {
    display: none;
  }
} 

.hero-content {
    padding-top: 100px;
}