/* ==========================================================================
   Sadguru Hospital - Optimized Mobile Responsive Stylesheet
   ========================================================================== */

@media screen and (max-width: 768px) {

  /* 1. Global Padding & Reset */
  .section-padding { 
    padding: 25px 0 !important; 
  }
  
  .container {
    width: 94% !important;
  }

  .grid-2 { 
    grid-template-columns: 1fr !important; 
    gap: 18px !important; 
  }

  /* 2. Typography Adjustments (Slightly Smaller & Compact) */
  .section-title {
    margin-bottom: 20px !important;
  }

  .section-title h2 { 
    font-size: 20px !important; 
    line-height: 1.3 !important;
  }

  .section-title span {
    font-size: 11px !important;
  }

  p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* 3. Top Contact Bar */
  .top-bar {
    padding: 6px 0 !important;
    font-size: 11px !important;
  }

  .top-bar-content { 
    flex-direction: column !important; 
    text-align: center !important; 
    gap: 4px !important; 
  }

  .top-badges { 
    justify-content: center !important; 
  }

  .top-badges .badge {
    padding: 3px 10px !important;
    font-size: 10px !important;
  }

  /* 4. Hero Section & Banner */
  .hero-section { 
    height: auto !important; 
    min-height: 320px !important; 
    padding: 30px 15px !important; 
    text-align: center !important; 
  }

  .hero-subtitle {
    font-size: 11px !important;
    padding: 4px 12px !important;
    margin-bottom: 10px !important;
  }

  .hero-content h2 { 
    font-size: 22px !important; 
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .hero-content p { 
    font-size: 13px !important; 
    margin-bottom: 15px !important;
  }

  .hero-btns { 
    flex-direction: column !important; 
    gap: 8px !important;
  }

  .hero-btns .btn { 
    width: 100% !important; 
    justify-content: center !important; 
    padding: 10px 18px !important;
    font-size: 13px !important;
  }

  /* 5. Compact Cards & Information Boxes */
  .doctor-card, 
  .review-card, 
  .appointment-form-box, 
  .tracker-box, 
  .facility-card {
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04) !important; /* Lighter Box Shadow */
    margin-bottom: 12px !important;
  }

  .doc-img-box img {
    height: 200px !important;
  }

  .doc-info {
    padding: 12px 5px !important;
  }

  .doc-info h3 {
    font-size: 17px !important;
  }

  /* 6. Form Elements */
  .form-group {
    margin-bottom: 12px !important;
  }

  .form-group label {
    font-size: 12px !important;
  }

  .form-group input, 
  .form-group select, 
  .tracker-form input {
    padding: 9px 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  /* 7. Stats Banner Adjustment */
  .stats-banner {
    padding: 18px 0 !important;
  }

  .stats-grid { 
    grid-template-columns: 1fr 1fr !important; 
    gap: 12px !important; 
  }

  .stat-item h3 {
    font-size: 18px !important;
  }

  .stat-item p {
    font-size: 11px !important;
  }

  /* 8. Admin Table Adjustments (Fixes Overflow) */
  table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  th, td {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

}

/* Gallery Mobile Optimizations */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .gallery-img-box {
    height: 190px !important;
  }

  .gallery-info {
    padding: 12px 10px !important;
  }

  .gallery-info h3 {
    font-size: 15px !important;
  }

  .gallery-info p {
    font-size: 11px !important;
  }

.logo-title-hi {
    font-size: 22px !important;
  }
  
  .logo-title-en {
    font-size: 14px !important;
  }

/* Doctors Page Mobile Optimization */
@media (max-width: 640px) {
  .dr-top-section {
    flex-direction: column;
    text-align: center;
  }
  
  .dr-highlights li {
    justify-content: center;
  }
  
  .dr-detail-card {
    padding: 20px 15px;
  }

  .doctors-header h1 {
    font-size: 24px;
  }
}