/* Responsive Styles for Eat Smart Website */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .app-card {
    margin: 70px 0;
  }
  
  /* Swiper styles for large devices */
  .mySwiper {
    max-width: 90%;
    margin: 0 auto;
  }
  
  .profile-image-container {
    height: 400px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .app-card {
    margin: 50px 0;
  }
  
  .card-header {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .app-description {
    padding: 1.5rem;
  }
  
  .profile-card {
    margin-bottom: 2rem;
  }
  
  .profile-image-container {
    height: 350px;
  }
  
  .timeline {
    padding-left: 30px;
  }
  
  .timeline-item::before {
    left: -28px;
  }
  
  /* Swiper styles for medium devices */
  .swiper {
    padding: 30px 0 80px;
    max-width: 95%;
    margin: 0 auto;
  }
  
  .swiper-slide {
    width: 280px;
    display: flex;
    justify-content: center;
  }
  
  .app-card-mini {
    min-height: 480px;
    width: 100%;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 120px 0 80px;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .hero-section .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }
  
  .app-card {
    margin: 40px 0;
  }
  
  .card-header {
    font-size: 1.6rem;
    padding: 1rem 1.2rem;
  }
  
  .app-icon {
    max-width: 150px;
  }
  
  .app-description h4 {
    font-size: 1.3rem;
  }
  
  .app-link img {
    max-width: 200px;
  }
  
  .profile-image-container {
    height: 300px;
  }
  
  .profile-card .col-md-7 {
    padding: 2rem !important;
  }
  
  .display-6 {
    font-size: 1.8rem;
  }
  
  .timeline-item h5 {
    font-size: 1.1rem;
  }
  
  /* Swiper styles for small devices */
  .swiper {
    padding: 20px 0 70px;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .swiper-slide {
    width: 260px;
    display: flex;
    justify-content: center;
  }
  
  .app-card-mini {
    min-height: 500px;
    margin: 10px 0;
    width: 100%;
  }
  
  .app-icon-wrapper {
    width: 90px;
    height: 90px;
  }
  
  .app-feature-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    margin: 0.15rem;
  }
  
  .btn-app-action {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 18px !important;
  }
  
  .counter-item {
    padding: 1.5rem 1rem;
  }
  
  .counter-value {
    font-size: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }
  
  .hero-section .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .app-card {
    margin: 30px 0;
  }
  
  .card-header {
    font-size: 1.4rem;
    padding: 0.8rem 1rem;
  }
  
  .app-icon {
    max-width: 120px;
  }
  
  .app-description h4 {
    font-size: 1.2rem;
  }
  
  .app-description p {
    font-size: 0.9rem;
  }
  
  .app-link img {
    max-width: 180px;
  }
  
  .profile-image-container {
    height: 250px;
  }
  
  .profile-card .col-md-7 {
    padding: 1.5rem !important;
  }
  
  .display-6 {
    font-size: 1.6rem;
  }
  
  .timeline {
    padding-left: 25px;
  }
  
  .timeline-item {
    padding-bottom: 1.2rem;
  }
  
  .timeline-item::before {
    width: 14px;
    height: 14px;
    left: -25px;
    top: 6px;
  }
  
  .timeline-item h5 {
    font-size: 1rem;
  }
  
  .timeline-item p {
    font-size: 0.9rem;
  }
  
  /* Swiper styles for extra small devices */
  .swiper {
    padding: 15px 0 60px;
    max-width: 85%;
    margin: 0 auto;
  }
  
  .swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .app-card-mini {
    min-height: 480px;
    margin: 5px 0;
    width: 100%;
  }
  
  .app-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }
  
  .app-card-mini h4 {
    font-size: 1.3rem;
  }
  
  .app-feature-tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    margin: 0.1rem;
  }
  
  .app-description {
    font-size: 0.85rem;
  }
  
  .btn-app-action {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px !important;
  }
  
  .counter-value {
    font-size: 1.2rem;
  }
  
  .counter-item h5 {
    font-size: 0.9rem;
  }
  
  .footer h4 {
    font-size: 1.4rem;
  }
  
  .social-icons a {
    margin: 0 0.5rem;
  }
  
  .copyright {
    font-size: 0.8rem;
  }
}

/* Very small devices */
@media (max-width: 399.98px) {
  .hero-section h1 {
    font-size: 1.6rem;
  }
  
  .hero-section p {
    font-size: 0.85rem;
  }
  
  .hero-section .btn {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .app-card {
    margin: 25px 0;
  }
  
  .card-header {
    font-size: 1.3rem;
    padding: 0.7rem 0.9rem;
  }
  
  .app-icon {
    max-width: 100px;
  }
  
  .app-description h4 {
    font-size: 1.1rem;
  }
  
  .app-description p {
    font-size: 0.85rem;
  }
  
  .app-link img {
    max-width: 160px;
  }
  
  .profile-image-container {
    height: 220px;
  }
  
  .profile-card .position-absolute {
    padding: 0.8rem !important;
  }
  
  .profile-card .position-absolute h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem !important;
  }
  
  .profile-card .position-absolute p {
    font-size: 0.8rem;
    margin-bottom: 0 !important;
  }
  
  .profile-card .col-md-7 {
    padding: 1.2rem !important;
  }
  
  .display-6 {
    font-size: 1.4rem;
  }
  
  .timeline-item h5 {
    font-size: 0.95rem;
  }
  
  .timeline-item p {
    font-size: 0.85rem;
  }
  
  .swiper-slide {
    width: 100%;
  }
  
  .app-card-mini {
    min-height: 450px;
  }
  
  .app-card-mini h4 {
    font-size: 1.2rem;
  }
  
  .app-feature-tag {
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    margin: 0.1rem;
  }
  
  .app-description {
    font-size: 0.8rem;
  }
  
  .btn-app-action {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }
}

/* Extremely small devices */
@media (max-width: 349.98px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  .hero-section p {
    font-size: 0.8rem;
  }
  
  .hero-section .btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.9rem;
  }
  
  .app-card {
    margin: 20px 0;
  }
  
  .card-header {
    font-size: 1.2rem;
  }
  
  .app-icon {
    max-width: 90px;
  }
  
  .app-description h4 {
    font-size: 1rem;
  }
  
  .app-description p {
    font-size: 0.8rem;
  }
  
  .app-link img {
    max-width: 140px;
  }
  
  .profile-image-container {
    height: 200px;
  }
  
  .profile-card .position-absolute h3 {
    font-size: 1.1rem;
  }
  
  .profile-card .position-absolute p {
    font-size: 0.75rem;
  }
  
  .profile-card .col-md-7 {
    padding: 1rem !important;
  }
  
  .display-6 {
    font-size: 1.3rem;
  }
  
  .timeline-item h5 {
    font-size: 0.9rem;
  }
  
  .timeline-item p {
    font-size: 0.8rem;
  }
  
  .swiper-slide {
    width: 100%;
  }
  
  .app-card-mini {
    min-height: 420px;
  }
  
  .app-card-mini h4 {
    font-size: 1.1rem;
  }
  
  .app-feature-tag {
    font-size: 0.55rem;
    padding: 0.1rem 0.25rem;
    margin: 0.05rem;
  }
  
  .app-description {
    font-size: 0.75rem;
  }
  
  .btn-app-action {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
  
  .counter-value {
    font-size: 1.2rem;
  }
  
  .counter-item h5 {
    font-size: 0.8rem;
  }
} 