/*
  EDUCARE - Premium Medical Education Website Responsive Stylesheet
  Overrides for various breakpoints.
*/

/* --- Large Screens & Laptops (up to 1200px) --- */
@media (max-width: 1199.98px) {
  .hero-slide-title {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .section-padding {
    padding: 80px 0;
  }
}

/* --- Tablets & iPads (up to 991.98px) --- */
@media (max-width: 991.98px) {
  .navbar-educare {
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
  }
  
  .navbar-educare .nav-link {
    color: var(--primary) !important;
    padding: 10px 0 !important;
  }
  
  .navbar-educare .nav-link::after {
    left: 0;
    transform: none;
  }
  
  .navbar-educare .navbar-brand {
    color: var(--primary) !important;
  }
  
  .navbar-toggler {
    border-color: rgba(10, 45, 98, 0.2) !important;
    padding: 6px 12px;
  }
  
  .navbar-toggler-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(29%) saturate(4155%) min-width(100%) hue-rotate(198deg) brightness(91%) contrast(98%);
  }
  
  .navbar-collapse {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(10, 45, 98, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  
  .hero-slide-title {
    font-size: 2.8rem;
  }
  
  .hero-slide-text {
    font-size: 1.05rem;
  }
  
  .stats-floating-panel {
    margin-top: -30px;
  }
  
  .stats-divider {
    display: none;
  }
  
  .stats-item {
    margin-bottom: 25px;
  }
  
  .stats-item:last-child {
    margin-bottom: 0;
  }
  
  /* Timeline Vertical Stack for Mobile/Tablet */
  .timeline-journey::before {
    left: 40px;
    top: 0;
    width: 4px;
    height: 100%;
    transform: none;
  }
  
  .timeline-node {
    text-align: left;
    margin-bottom: 50px;
    padding-left: 100px;
  }
  
  .timeline-node:last-child {
    margin-bottom: 0;
  }
  
  .timeline-circle {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
  
  .timeline-desc {
    max-width: 100%;
    margin: 0;
  }
  
  .timeline-step-number {
    top: -5px;
    right: -5px;
  }
  
  .luxury-image-frame {
    margin-top: 50px;
  }
  
  .page-banner-title {
    font-size: 2.6rem;
  }
  
  .cta-banner-premium {
    padding: 60px 40px;
  }
}

/* --- Mobile Portrait & Landscape (up to 767.98px) --- */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.95rem;
  }
  
  .hero-slide-title {
    font-size: 2.2rem;
  }
  
  .hero-slide-text {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  
  .hero-slider-container {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .hero-slide {
    height: auto;
    min-height: 100%;
    padding: 40px 0;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important; /* Hide navigation arrows on small mobile devices to save space */
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .cta-banner-premium {
    text-align: center;
    padding: 50px 25px;
  }
  
  .cta-banner-premium h2 {
    font-size: 1.85rem;
  }
  
  .filter-tabs-container {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .filter-btn {
    font-size: 0.75rem;
    padding: 8px 16px;
    width: 100%;
  }
  
  .contact-info-card {
    padding: 25px;
  }
  
  .map-container-premium iframe {
    height: 300px;
  }
  
  .footer-educare {
    padding: 60px 0 30px;
  }
  
  .footer-bottom-bar {
    margin-top: 40px;
    text-align: center;
  }
  
  .footer-bottom-bar .text-end {
    text-align: center !important;
    margin-top: 15px;
  }
}

/* --- Small Mobile Phones (up to 480px) --- */
@media (max-width: 479.98px) {
  .hero-slide-title {
    font-size: 1.95rem;
  }
  
  .brand-name {
    font-size: 1.3rem;
  }
  
  .brand-logo-svg {
    width: 34px;
    height: 34px;
  }
  
  .card-glass {
    padding: 25px 20px;
  }
  
  .feature-pill-card {
    padding: 16px 20px;
  }
}
