/* ============================================
   RESPONSIVE STYLES
   Amirul Hani & Associates
   ============================================ */

/* Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Desktop / Laptop */
@media (max-width: 1199.98px) {
  :root {
    --section-padding: 90px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .practice-grid .col-lg {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .practice-card:nth-child(4),
  .practice-card:nth-child(5) {
    /* handled by bootstrap grid */
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  :root {
    --section-padding: 70px;
  }

  .top-bar-left {
    gap: 16px;
    flex-wrap: wrap;
  }

  .top-bar-item span {
    display: none;
  }

  .top-bar-item i {
    font-size: 1rem;
  }

  .navbar-nav {
    padding: 16px 0;
  }

  .navbar-nav .nav-link {
    padding: 10px 0 !important;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    margin: 12px 0 0;
    width: 100%;
    text-align: center;
  }

  .hero-section {
    min-height: auto;
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-image {
    height: 340px;
    margin-top: 40px;
  }

  .stats-section {
    margin-top: -40px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-number {
    font-size: 2rem;
  }

  .practice-grid .col-lg {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .process-timeline {
    gap: 8px;
  }

  .step-content h4 {
    font-size: 0.75rem;
  }

  .about-image-wrap {
    height: 200px;
  }

  .team-photo-wrap {
    height: 220px;
  }

  .why-card {
    margin-top: 24px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-content {
    flex-direction: column;
  }

  .cta-text h2 {
    font-size: 1.5rem;
  }

  .footer-top .row > div {
    margin-bottom: 16px;
  }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 767.98px) {
  :root {
    --section-padding: 60px;
  }

  .top-bar {
    padding: 8px 0;
  }

  .top-bar-left {
    gap: 12px;
  }

  .top-bar-right {
    gap: 10px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.85rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image {
    height: 280px;
  }

  .stats-card {
    padding: 28px 12px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .practice-grid .col-lg,
  .practice-grid .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .practice-card {
    padding: 28px 22px;
  }

  .process-card,
  .about-content {
    padding: 28px 24px;
  }

  .process-title {
    font-size: 1.5rem;
  }

  .process-timeline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    flex: 0 0 30%;
    min-width: 90px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .team-photo-wrap {
    height: 280px;
  }

  .bottom-sections {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .testimonial-block,
  .faq-block,
  .articles-block {
    padding: 22px;
  }

  .cta-banner {
    padding: 40px 0;
  }

  .cta-text h2 {
    font-size: 1.35rem;
  }

  .cta-btn {
    width: 100%;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .back-to-top {
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .main-footer {
    padding-top: 50px;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.55rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-suffix {
    font-size: 1.1rem;
  }

  .process-step {
    flex: 0 0 45%;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer-brand-name {
    font-size: 0.9rem;
  }
}
