/* ==========================================================================
   Responsive Adaptations
   Mobile-first & Multi-breakpoint overrides
   ========================================================================== */

/* --- Mobile Devices (Max-width: 767px) --- */
@media (max-width: 767px) {
  /* Navigation & Header */
  .header-pill {
    padding: 0.75rem 1rem;
  }

  .brand-monogram {
    font-size: 0.92rem;
  }

  .brand-monogram .monogram-badge {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  /* Hero Section Mobile Adaptation */
  .hero-section {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .hero-content-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-name {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-designation {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .hero-statement {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-btn-tertiary {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }

  .impact-metrics-section {
    padding: 0 0 2rem;
  }

  .impact-metric-item {
    padding: 1.25rem 1.25rem;
  }

  .impact-metric-value {
    font-size: 1.65rem;
  }

  .hero-visual-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .subnav-outer-wrap {
    display: none;
  }

  /* Section Spacing */
  .portfolio-section {
    padding: 3.5rem 0;
  }

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

  /* About Section */
  .about-portrait-card {
    max-width: 300px;
    border-radius: 22px;
  }

  .about-heading {
    font-size: 1.65rem;
    text-align: center;
  }

  .about-role-subline {
    text-align: center;
    font-size: 0.85rem;
  }

  .about-bio-paragraphs p {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  /* Experience Section */
  .experience-card {
    padding: 1.75rem 1.25rem;
    border-radius: 22px;
  }

  .role-title {
    font-size: 1.2rem;
  }

  .org-line {
    font-size: 0.92rem;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .experience-responsibilities li {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Philosophy Section */
  .philosophy-box {
    border-radius: 24px;
  }

  .philosophy-left-col {
    padding: 2.25rem 1.25rem;
  }

  .philosophy-right-col {
    padding: 2.25rem 1.25rem;
  }

  .philosophy-quote-lead {
    font-size: 1.1rem;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
  }

  .philosophy-pillar {
    padding: 1.25rem;
    border-radius: 16px;
  }

  /* Personal Bridge Card Mobile Adaptation */
  .personal-bridge-card {
    padding: 2.25rem 1.35rem;
    border-radius: 24px;
    gap: 1.75rem;
  }

  .bridge-title {
    font-size: 1.45rem;
  }

  .bridge-description {
    font-size: 0.9rem;
  }

  .bridge-explore-btn {
    width: 100%;
    justify-content: center;
  }

  /* Dedicated Personal Journey Page Mobile Adaptation */
  .pj-hero-section {
    padding: 3.5rem 0 2.5rem;
  }

  .pj-hero-title {
    font-size: 2rem;
  }

  .pj-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .pj-verse-card {
    padding: 2.25rem 1.25rem;
    border-radius: 24px;
    margin-bottom: 2.5rem;
  }

  .pj-arabic-verse {
    font-size: 1.55rem;
    line-height: 2.15;
    margin-bottom: 1.25rem;
  }

  .pj-verse-translation {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .pj-narrative-card {
    padding: 2rem 1.25rem;
    border-radius: 22px;
  }

  .pj-milestone-highlight {
    padding: 2rem 1.25rem;
    border-radius: 22px;
  }

  .pj-milestone-title {
    font-size: 1.25rem;
  }

  .pj-return-card {
    padding: 2.5rem 1.35rem;
    border-radius: 24px;
  }

  .pj-return-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .pj-return-primary-btn,
  .pj-return-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  /* Quran Journey Section Mobile Adaptation */
  .quran-verse-card {
    padding: 2.25rem 1.25rem;
    border-radius: 24px;
    margin-bottom: 2rem;
  }

  .verse-quranic-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.95rem;
  }

  .quran-arabic-display {
    font-size: 1.55rem;
    line-height: 2.15;
    margin-bottom: 1.15rem;
  }

  .quran-english-translation {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .quran-editorial-grid {
    gap: 1.75rem;
  }

  .quran-narrative-card {
    padding: 2rem 1.25rem;
    border-radius: 22px;
  }

  .quran-narrative-heading {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }

  .quran-quote-lead {
    font-size: 0.92rem;
    padding: 0.75rem 0.85rem;
  }

  .quran-achievement-card {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .achievement-icon-box {
    width: 42px;
    height: 42px;
  }

  .achievement-title {
    font-size: 1.05rem;
  }

  .achievement-subtitle {
    font-size: 0.84rem;
  }

  .achievement-details {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .quran-rose-card {
    padding: 2rem 1.25rem;
    border-radius: 22px;
  }

  .rose-art-frame {
    max-width: 220px;
    margin: 0.5rem auto;
  }

  .rose-card-title {
    font-size: 1.12rem;
  }

  .rose-card-description {
    font-size: 0.82rem;
  }

  /* Credentials Section */
  .credential-category-card {
    padding: 1.75rem 1.25rem;
    border-radius: 22px;
  }

  .category-title {
    font-size: 1.18rem;
  }

  .credential-item {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .item-name {
    font-size: 0.96rem;
  }

  /* Connect Section */
  .connect-direct-card {
    padding: 1.75rem 1.15rem;
    border-radius: 22px;
  }

  .channel-link-item {
    padding: 0.95rem 1rem;
    gap: 0.85rem;
  }

  .channel-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .channel-value {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .connect-direct-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .direct-inquire-btn {
    width: 100%;
    justify-content: center;
  }

  /* Speed Dial & Hex Quicknav */
  .speed-dial-wrap,
  .hex-quicknav-dock {
    bottom: 1rem;
    right: 1rem;
  }

  .speed-dial-container,
  .speed-dial-trigger,
  .hex-quicknav-container,
  .hex-quicknav-trigger {
    width: 52px;
    height: 52px;
  }

  .speed-dial-item,
  .hex-quicknav-item {
    width: 44px;
    height: 44px;
  }

  .speed-dial-menu,
  .hex-quicknav-menu {
    bottom: 62px;
    right: 4px;
  }

  .speed-dial-tooltip,
  .hex-quicknav-tooltip {
    display: none; /* Hide tooltips on mobile touch */
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 0;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  /* Personal Journey Page Mobile Optimizations */
  .pj-header-pill {
    padding: 0.65rem 1rem;
  }

  .pj-header-pill .rub-el-hizb-badge {
    display: none;
  }

  .return-portfolio-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }

  .pj-hero-section {
    padding: 3.5rem 0 2.5rem;
  }

  .pj-verse-card {
    padding: 2.25rem 1.25rem;
    border-radius: 24px;
    margin-bottom: 2.5rem;
  }

  .pj-arabic-verse {
    font-size: 1.65rem;
    line-height: 2;
  }

  .pj-verse-translation {
    font-size: 1.05rem;
  }

  .pj-narrative-card,
  .pj-milestone-highlight,
  .pj-rose-card,
  .pj-return-card {
    padding: 1.75rem 1.25rem;
    border-radius: 22px;
  }

  .pj-return-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .pj-return-primary-btn,
  .pj-return-secondary-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Tablet Devices (768px - 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual-frame {
    max-width: 380px;
  }

  .subnav-outer-wrap {
    display: none;
  }

  .quran-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .quran-rose-card {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

/* --- High-DPI / Large Desktops (min-width: 1600px) --- */
@media (min-width: 1600px) {
  .hero-name {
    font-size: 3.8rem;
  }

  .hero-statement {
    font-size: 1.25rem;
  }

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

  .about-heading {
    font-size: 2.5rem;
  }

  .philosophy-quote-lead {
    font-size: 1.55rem;
  }
}

