/*--------------------------------------------------------------
# RESPONSIVE STYLES — Breakpoint Overrides
--------------------------------------------------------------*/

/*--- Process Step Connector (Desktop) ---*/
@media (min-width: 992px) {
  .process-step-node:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 1px;
    background: var(--v-border-muted);
    z-index: 1;
  }
}

/*--- Assessment Page (Tablet) ---*/
@media (max-width: 991.98px) {
  .step-indicator-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow-x: auto;
    padding: 1rem;
    gap: 1rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-bottom: 1.5rem;
    background: var(--v-bg-dark);
    border-bottom: 1px solid var(--v-border-muted);
  }
  .step-timeline-item {
    padding: 0;
    flex-shrink: 0;
  }
  .step-timeline-item:not(:last-child)::after {
    display: none;
  }
  .step-label {
    display: none;
  }
  .card-question-wrapper {
    padding: 1.5rem;
    border-radius: 12px;
  }
  .interactive-selection-card {
    flex: 1 1 calc(50% - 0.5rem);
  }
}

/*--- Assessment Page (Small Mobile) ---*/
@media (max-width: 575.98px) {
  .interactive-selection-card {
    flex: 1 1 100%;
  }
}

/*--- Azvizory Section (Mobile) ---*/
@media (max-width: 767.98px) {
  .azvizory-main-card {
    padding: 24px 16px;
  }
  .azvizory-brand-title {
    font-size: 1.4rem;
  }
  .azvizory-step-card {
    padding: 20px;
  }
  .azvizory-step3-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .dpdpa-domains-title {
    font-size: 1.4rem;
  }
  .domain-icon {
    font-size: 2.5rem;
  }
  .domain-title {
    font-size: 0.95rem;
    min-height: auto;
  }
  .domain-desc {
    font-size: 0.72rem;
  }
}
@media (min-width: 1200px) {
  .ps,.px {
      padding-left:5rem
  }

  .pe,.px {
      padding-right: 5rem
  }
}
@media (min-width: 1200px) and (max-width:1699.98px){
   .px {
      padding-left: 4rem;
      padding-right: 4rem
  }

  .py {
      padding-top: 2rem;
      padding-bottom: 2rem;
  }
  .pt {
        padding-top: 3rem;
    }
    .pb{
        padding-bottom: 3rem;
    }
}
@media only screen and (min-width: 576px) and (max-width: 1199.98px){
  .py {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .pe, .px {
        padding-right: 4rem;
    }
    .ps, .px {
        padding-left: 4rem;
    }
}
@media only screen and (max-width: 575.98px) {
   .py {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .pt{
        padding-top: 3rem;
    }
    .px{
      padding-left: 0rem;
     padding-right: 0rem;
    }
}

/*--- Hero Banner (Tablet) ---*/
@media (max-width: 991.98px) {
  .hero-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 13, 0.92) 0%, rgba(10, 15, 13, 0.85) 100%);
    z-index: 1;
  }
  .hero-banner-section > .px {
    position: relative;
    z-index: 2;
  }
  .hero-banner-section {
    background-position: right center;
  }
  .hero-banner-section .col-lg-8,
  .hero-banner-section .col-xl-7 {
    max-width: 100%;
  }
  .hero-banner-section h1 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
  }
}

/*--- Hero Banner (Mobile) ---*/
@media (max-width: 767.98px) {
  .hero-banner-section::before {
    background: linear-gradient(to bottom, rgba(10, 15, 13, 0.95) 0%, rgba(10, 15, 13, 0.8) 100%);
  }
  .hero-banner-section h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
  }
}
@media (max-width: 575.98px) {
  .hero-banner-section {
    background-size: 120% auto;
    background-position: right center;
  }
  .hero-banner-section h1 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }
}

/*--- Success Dashboard (Tablet) ---*/
@media (max-width: 991.98px) {
  .success-dashboard-panel {
    padding: 1.75rem;
  }
  .success-dashboard-body {
    flex-direction: column;
    align-items: center;
  }
  .success-score-col {
    flex: none;
    width: 100%;
  }
  .success-donut-wrap {
    width: 200px;
    height: 200px;
  }
  .success-stats-col {
    width: 100%;
  }
}

/*--- Success Dashboard (Mobile) ---*/
@media (max-width: 575.98px) {
  .success-dashboard-panel {
    padding: 1.25rem;
    border-radius: 12px;
    overflow: hidden;
  }
  .success-dashboard-title {
    font-size: 0.95rem;
    text-align: center;
  }
  .success-donut-wrap {
    width: 170px;
    height: 170px;
  }
  .success-score-big {
    font-size: 1.8rem;
  }
  .success-maturity-label {
    font-size: 0.85rem;
  }
  .success-stat-row {
    padding: 0.5rem 0.65rem;
    gap: 0.65rem;
  }
  .success-stat-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .success-stat-label {
    font-size: 0.65rem;
  }
  .success-stat-value {
    font-size: 0.85rem;
  }
  .success-compliance-bar {
    padding: 0.85rem 1rem;
  }
  .success-disclaimer {
    font-size: 0.65rem;
    padding: 0.7rem 0.75rem;
  }
}

/*--- About Page (Tablet) ---*/
@media (max-width: 991.98px) {
  .about-hero-image-wrap {
    max-width: 400px;
    margin-top: 2rem;
  }
  .about-experience-card {
    padding: 1.75rem;
  }
  .about-experience-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  .about-experience-divider {
    display: none;
  }
  .about-experience-brand {
    flex-direction: column;
    text-align: center;
  }
  .about-experience-stats {
    gap: 1rem;
  }
}

/*--- About Page (Mobile) ---*/
@media (max-width: 767.98px) {
  .about-hero-image-wrap {
    max-width: 320px;
    margin-top: 1.5rem;
  }
  .about-feature-card {
    padding: 1.5rem 1.2rem;
  }
  .about-feature-icon-circle {
    width: 56px;
    height: 56px;
    font-size: 1.15rem;
  }
  .about-experience-card {
    padding: 1.5rem;
  }
  .about-experience-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-experience-brand {
    flex-direction: column;
    text-align: center;
  }
  .about-experience-desc-wrap {
    text-align: center;
  }
  .about-experience-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .about-founder-card {
    padding: 1.5rem;
  }
  .about-founder-img-placeholder {
    width: 80px;
    height: 80px;
  }
}

/*--- About Page (Small Mobile) ---*/
@media (max-width: 575.98px) {
  .about-hero-image-wrap {
    max-width: 280px;
  }
  .about-header-title {
    gap: 0.6rem;
  }
  .about-header-text {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
  .about-header-line {
    max-width: 60px;
  }
  .about-experience-stats {
    flex-direction: row;
    gap: 1rem;
  }
  .about-experience-stat-value {
    font-size: 1.6rem;
  }
  .about-founder-img-placeholder {
    width: 70px;
    height: 70px;
  }
}

/*--- Resources Page (Tablet) ---*/
@media (max-width: 991.98px) {
  .resources-hero-icon-ring {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
  }
  .resources-hero-glow {
    width: 170px;
    height: 170px;
  }
  .resource-card-inner {
    padding: 1.75rem;
  }
  .resources-info-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }
  .resources-info-content {
    text-align: center;
  }
  .resources-info-action {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/*--- Resources Page (Mobile) ---*/
@media (max-width: 767.98px) {
  .resources-hero-icon-ring {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
  .resources-hero-glow {
    width: 140px;
    height: 140px;
  }
  .resource-card-inner {
    padding: 1.5rem;
  }
  .resource-card-title {
    font-size: 1.05rem;
  }
  .resource-card-meta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .resource-card-action {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-resource-download,
  .btn-resource-view {
    justify-content: center;
  }
  .resources-info-card {
    padding: 1.5rem;
  }
  .resources-info-inner {
    flex-direction: column;
    text-align: center;
  }
  .resources-info-desc {
    font-size: 0.82rem;
  }
}

/*--- Resources Page (Small Mobile) ---*/
@media (max-width: 575.98px) {
  .resource-icon-circle {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .resource-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
  }
}

/*--- Assessment Modal (Mobile) ---*/
@media (max-width: 575.98px) {
  .modal-v-content .modal-header {
    padding: 1.25rem 1rem 1rem 1rem;
    gap: 12px;
  }
  .modal-v-content .modal-header .btn-close {
    flex-shrink: 0;
    margin: 0;
  }
  .modal-v-content .form-select {
    min-width: 0;
    width: 100%;
    padding-right: 2.5rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
}

/*--- Mobile Menu (Full-Screen Overlay) ---*/
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.75rem 0;
  }
  .navbar .container {
    position: relative;
  }
  .navbar-toggler {
    position: relative;
    z-index: 1050;
  }

  #verticzNavbarContent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 15, 13, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1040;
    padding: 5rem 2rem 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.2s ease-out;
  }

  #verticzNavbarContent.collapsing {
    transition: none;
  }

  #verticzNavbarContent.show {
    display: flex !important;
    transform: translateX(0);
  }

  .navbar-nav.nav-links-group {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 0;
  }

  .navbar-nav.nav-links-group .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
  }

  .navbar-nav.nav-links-group .nav-link:hover {
    color: var(--v-brand-lime);
  }

  #verticzNavbarContent .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    width: 100%;
  }

  #verticzNavbarContent .d-flex .btn-v-primary {
    width: auto;
    min-width: 240px;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }

  #verticzNavbarContent .d-flex a[href="https://azvizory.com/"] {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  #verticzNavbarContent {
    padding: 4rem 1.5rem 2rem;
  }
  .navbar-nav.nav-links-group .nav-link {
    font-size: 1.1rem;
  }
}

/*--- Assessment Navigation Buttons (Mobile) ---*/
@media (max-width: 575.98px) {
  .questionnaire-flow-view .d-flex.justify-content-between {
    gap: 10px;
    padding-bottom: 0.5rem;
  }
  .questionnaire-flow-view .d-flex.justify-content-between .btn-v-secondary {
    margin-right: auto;
  }
  .questionnaire-flow-view .d-flex.justify-content-between .btn-v-primary {
    margin-left: auto;
  }
  #downloadPdfBtn,
  #downloadPdfBtn ~ .btn-v-secondary {
    width: 100%;
  }
  #downloadPdfBtn {
    justify-content: center;
  }
}