/* ==========================================================================
   NMIRSHAD.COM - RESPONSIVE STYLESHEET
   Comprehensive Mobile & Tablet Optimization (320px - 1280px)
   ========================================================================== */

/* Large Laptops / Desktops (max-width: 1280px) */
@media (max-width: 1280px) {
  .brand-title-large {
    font-size: 100px;
  }
  .motto-heading {
    font-size: 56px;
  }
  .quote-exact-text {
    font-size: 48px;
  }
}

/* Medium Laptops & Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-branding-section {
    min-height: auto;
    padding: 60px 20px 40px 20px;
  }

  .brand-title-large {
    font-size: 72px;
  }

  .hero-tagline-grid,
  .about-me-grid,
  .faq-exact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta2-title {
    font-size: 48px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  /* Section 1: Hero Branding & Nav */
  .hero-branding-section {
    min-height: auto;
    padding: 50px 16px 30px 16px;
  }

  .brand-title-large {
    font-size: clamp(36px, 11vw, 56px);
    letter-spacing: -1px;
    margin-bottom: 15px;
  }

  .brand-subtitle-roles {
    font-size: 15px;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
  }

  .brand-subtitle-roles .bullet-dot {
    font-size: 18px;
  }

  .irshad-nav {
    gap: 10px 12px !important;
  }

  .irshad-nav-link {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }

  .irshad-nav .irshad-services-dropdown a {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }

  /* Section 2: Hero Tagline & Portrait */
  .hero-tagline-section {
    padding: 50px 0;
    min-height: auto;
  }

  .hero-tagline-content {
    text-align: center;
  }

  .hero-tagline-heading {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .hero-tagline-desc {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-discussion {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 14px 20px;
  }

  .portrait-container {
    padding: 15px;
  }

  .portrait-container img {
    max-width: 100%;
    height: auto;
  }

  /* Section 3: Motto & Stats */
  .stats-motto-section {
    padding: 50px 0 40px 0;
  }

  .motto-heading {
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 40px;
  }

  .motto-line {
    display: block;
    white-space: normal;
  }

  .stats-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
  }

  .stat-box {
    padding: 22px 12px;
  }

  .stat-box .number {
    font-size: 30px;
  }

  .stat-box .label {
    font-size: 13px;
  }

  /* Section 4: 3D Coverflow Carousel */
  .projects-carousel-section {
    padding: 30px 0 60px 0;
  }

  .projects-label-heading {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .coverflow-carousel-wrapper {
    height: 280px;
  }

  .coverflow-card {
    width: 280px;
    height: 175px;
    border-radius: 10px;
  }

  .coverflow-card img {
    border-radius: 10px;
  }

  .coverflow-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .coverflow-nav-btn.prev-btn { left: 10px; }
  .coverflow-nav-btn.next-btn { right: 10px; }

  /* Section 5: About Me */
  .about-me-section {
    padding: 50px 0;
  }

  .about-me-content {
    text-align: center;
  }

  .about-me-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .about-me-intro {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .about-me-paragraph {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
  }

  .btn-know-more {
    width: 100%;
    justify-content: center;
  }

  .about-portrait-box {
    padding: 15px;
  }

  /* Section 6: Services Widget */
  .services-heading-exact {
    font-size: 28px !important;
    line-height: 1.3 !important;
    text-align: center;
    margin-bottom: 30px;
  }

  .irshad-services-section .container {
    padding-top: 40px !important;
    padding-bottom: 10px !important;
  }

  .irshad-service-header {
    grid-template-columns: 35px 1fr !important;
    min-height: 70px !important;
    padding: 12px 0 !important;
  }

  .irshad-service-number {
    font-size: 14px !important;
  }

  .irshad-service-title {
    font-size: 20px !important;
    letter-spacing: -0.5px !important;
  }

  .irshad-service-content {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .irshad-service-note {
    font-size: 12px !important;
    align-self: start !important;
    padding-bottom: 0 !important;
    color: #ffb400 !important;
  }

  .irshad-service-description {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .irshad-service-button {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
  }

  /* Section 7: Testimonials */
  .testimonials-exact-section {
    padding: 50px 0;
  }

  .testimonials-title-exact {
    font-size: 28px;
    text-align: center;
    margin-bottom: 35px;
  }

  .testimonials-grid-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card-exact {
    padding: 24px;
    min-height: auto;
  }

  .testimonial-card-exact .quote-content {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Section 8: Quote Banner */
  .quote-exact-section {
    padding: 60px 0;
  }

  .quote-exact-text {
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.5px;
  }

  /* Section 9: CTA 1 */
  .cta1-exact-section {
    padding: 50px 0;
  }

  .cta1-boxed-container {
    padding: 35px 20px;
  }

  .cta1-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .cta1-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .cta1-buttons-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .cta1-buttons-row .irshad-nav-link {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 12px 15px !important;
  }

  /* Section 10: FAQ */
  .faq-exact-section {
    padding: 50px 0;
  }

  .faq-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .faq-header-exact {
    font-size: 15px;
    padding: 16px 0;
  }

  .faq-content-exact p {
    font-size: 14px;
    line-height: 1.5;
  }

  .faq-image-side img {
    max-width: 100%;
    border-radius: 8px;
  }

  /* Section 11: CTA 2 */
  .cta2-exact-section {
    padding: 60px 0;
    text-align: center;
  }

  .cta2-title {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .cta2-actions-row {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .cta2-left-link {
    font-size: 16px;
  }

  .btn-say-hello {
    width: 100%;
    justify-content: center;
  }

  /* Section 12: Blog */
  .blogs-exact-section {
    padding: 50px 0;
  }

  .blogs-title-exact {
    font-size: 28px;
    text-align: center;
    margin-bottom: 35px;
  }

  .blogs-grid-3col {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Section 13: Footer */
  .footer-exact-section {
    padding: 50px 0 30px 0;
    text-align: center;
  }

  .footer-exact-branding .brand-title-large {
    font-size: 48px !important;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-links-col ul li {
    margin-bottom: 8px;
  }

  .footer-exact-copyright {
    font-size: 13px;
    padding-top: 25px;
  }

  /* Floating Controls & Chatbot */
  .fixed-scroll-top {
    bottom: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    font-size: 14px;
    z-index: 9999;
  }

  .chatbot-trigger-btn {
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    font-size: 18px;
    z-index: 9999;
  }

  .chatbot-modal {
    bottom: 70px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: calc(100vw - 20px);
    z-index: 10000;
  }
}

/* Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .stats-boxes-grid {
    grid-template-columns: 1fr;
  }

  .coverflow-carousel-wrapper {
    height: 240px;
  }

  .coverflow-card {
    width: 230px;
    height: 145px;
  }

  .stat-box .number {
    font-size: 32px;
  }

  .brand-title-large {
    font-size: 38px;
  }
}
