/* ================================================
   📱 MOBILE-ONLY STYLES (Up to 768px)
   ================================================ */
@media (max-width: 768px) {

  /* Base Reset */
  *, *::before, *::after {
    box-sizing: border-box;
  }
  html, body {
    font-family: "Poppins", sans-serif;
    font-size: clamp(12px, 2.5vw, 15px);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    background-color: #fff;
  }

  /* Headings */
  h1 { font-size: clamp(18px, 4.2vw, 26px); }
  h2 { font-size: clamp(16px, 3.5vw, 22px); }

  /* Container */
  .container {
    padding: 0 10px;
    width: 100%;
  }

  /* Mobile Grid for Services */
  .services-grid,
  .row.g-4 {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }

  /* Service Card Compact Mode */
  .service-card, .card {
    padding: 8px !important;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    min-height: 100px;
    transition: all 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  }

  /* Icon Circles */
  .icon-circle {
    width: clamp(45px, 11vw, 70px);
    height: clamp(45px, 11vw, 70px);
    font-size: clamp(18px, 5vw, 28px);
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s ease;
  }
  .service-card:hover .icon-circle {
    transform: scale(1.1) rotate(4deg);
  }

  /* Text */
  .service-card h3 {
    font-size: clamp(12px, 2.6vw, 15px);
    margin: 4px 0;
    font-weight: 700;
  }
  .service-card p {
    font-size: clamp(11px, 2.2vw, 13px);
    margin: 0;
    color: #555;
    line-height: 1.3;
  }

  /* Gradient Icon Colors */
  .icon-ngo     { background: linear-gradient(135deg, #ff4da6, #ff99cc); }
  .icon-mca     { background: linear-gradient(135deg, #8e2ab9, #00adef); }
  .icon-business{ background: linear-gradient(135deg, #ffcc00, #ff9900); }
  .icon-tax     { background: linear-gradient(135deg, #28a745, #20c997); }
  .icon-legal   { background: linear-gradient(135deg, #4a148c, #6a1b9a); }
  .icon-finance { background: linear-gradient(135deg, #007bff, #00c6ff); }
  .icon-mis     { background: linear-gradient(135deg, #20c997, #0dcaf0); }
  .icon-virtual { background: linear-gradient(135deg, #17a2b8, #5eead4); }
  .icon-digital { background: linear-gradient(135deg, #ff1744, #ff6d00); }

  /* Hero Section */
  .services-hero {
    min-height: 40vh;
    background: linear-gradient(135deg, rgba(142, 42, 185, 0.8), rgba(0, 173, 239, 0.8));
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px;
  }
  .services-hero h1 {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 800;
  }
  .services-hero p {
    font-size: clamp(13px, 2.8vw, 16px);
    max-width: 650px;
    margin: auto;
    opacity: 0.9;
  }

  /* Smaller Mobile Adjustments */
  @media (max-width: 480px) {
    .services-grid {
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 6px;
    }
    .service-card {
      padding: 6px !important;
    }
    .icon-circle {
      width: 42px;
      height: 42px;
      font-size: 18px;
    }
    h1 { font-size: 18px; }
  }

  /* Navbar (Compact YONO Style) */
  .navbar {
    background: linear-gradient(135deg, #4F1C7F, #8E2AB9, #00ADEF);
    padding: 6px 10px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  }
  .navbar-brand img { height: 32px !important; width: auto; }
  .navbar-brand span {
    font-size: clamp(13px, 3vw, 16px);
    font-weight: 700;
    color: #fff;
  }
  .navbar-nav .nav-link {
    color: #fff !important;
    font-size: clamp(11px, 2.4vw, 14px);
    margin: 0 5px;
    padding: 6px 4px;
    border-radius: 8px;
    transition: 0.3s;
  }
  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00adef !important;
  }
  .btn-login {
    background: linear-gradient(135deg, #00ADEF, #8E2AB9);
    font-size: clamp(11px, 2.3vw, 13px);
    padding: 6px 12px;
    border-radius: 20px;
    color: #fff !important;
    font-weight: 600;
    border: none;
    transition: 0.3s;
  }
  .btn-login:hover {
    background: linear-gradient(135deg, #8E2AB9, #00ADEF);
    transform: scale(1.05);
  }

  /* Footer (YONO Gradient) */
  footer {
    background: linear-gradient(135deg, #2E007B, #8E2AB9, #00ADEF);
    color: #fff;
    font-size: clamp(11px, 2.4vw, 13px);
    padding: 20px 10px;
    text-align: center;
    line-height: 1.4;
  }
  footer .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 6px;
    font-weight: 500;
    transition: 0.3s;
  }
  footer .footer-links a:hover {
    color: #00ADEF;
    text-decoration: underline;
  }
  footer .social-icons i {
    font-size: clamp(15px, 4vw, 20px);
    margin: 0 6px;
    transition: 0.3s;
  }
  footer .social-icons i:hover {
    color: #00ADEF;
    transform: scale(1.15);
  }
  footer small {
    display: block;
    margin-top: 8px;
    opacity: 0.8;
  }
}
