/* Responsive Styles for Recycled Paper Notebook Template */

/* Tablets and large phones */
@media (max-width: 992px) {
  .hero-section {
    min-height: 90vh;
    text-align: center;
  }
  
  .hero-section .row {
    align-items: center;
  }
  
  .services-card .card-img-top {
    height: 180px;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  /* Disable animations on mobile as per requirements */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    text-align: center;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  /* Cards mobile */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .services-card .card-img-top {
    height: 150px;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  /* Buttons mobile */
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn-group .btn {
    width: auto;
  }
  
  /* Form mobile */
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Team section mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  /* Process steps mobile */
  .process-step {
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-step::before {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  /* Gallery mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem 0;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
  
  /* Spacing adjustments */
  .section {
    padding: 2rem 0;
  }
  
  .mb-4 {
    margin-bottom: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2.5rem !important;
  }
}

/* Small mobile devices */
@media (max-width: 576px) {
  /* Further typography reductions */
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  /* Container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 70vh;
    padding: 1.5rem 0;
  }
  
  /* Cards extra small */
  .services-card .card-img-top {
    height: 120px;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Gallery extra small */
  .gallery-item img {
    height: 150px;
  }
  
  /* Process steps extra small */
  .process-step {
    padding-left: 2rem;
  }
  
  .process-step::before {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }
  
  /* Section spacing */
  .section {
    padding: 1.5rem 0;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  
  .card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  [data-sal] {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    color: #000 !important;
  }
  
  p {
    color: #333 !important;
  }
} 

.hero-section h1 {
    padding-top: 100px;
}