/* DESIGN & DEVELOP BY TEHSEEN ( +923009239939 ) */
/* ============================================================
   AURA ENGINEERS — RESPONSIVE STYLESHEET
   Phase 5: Dual Logo Switching, Minimal Hero & Mobile Drawer
   ============================================================ */

/* ============================================================
   LARGE DESKTOP ADJUSTMENTS (min-width: 1440px)
   ============================================================ */
@media (min-width: 1440px) {
  :root {
    --container-width: 1380px;
  }
}

/* ============================================================
   DESKTOP COMPACT (1025px - 1280px)
   Maintain 3-column architecture without collision
   ============================================================ */
@media (max-width: 1280px) and (min-width: 1025px) {
  .header-inner {
    padding: 0 1.25rem;
  }

  .site-nav {
    gap: 0.95rem;
    margin: 0 auto;
  }

  .nav-link {
    font-size: 0.96875rem; /* 15.5px */
    letter-spacing: 0.025em;
  }

  .header-cta-btn {
    min-height: 48px;
    height: 48px;
    padding: 0 1.35rem;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
  }
}

/* ============================================================
   TABLET LANDSCAPE & COMPACT (max-width: 1024px)
   Header structure: [ LOGO ]                [ MENU ]
   ============================================================ */
@media (max-width: 1024px) {
  .site-nav {
    display: none;
  }

  .header-cta-btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.75rem;
  }

  .capabilities-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

  .framework-cell:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .framework-cell:nth-child(2n) {
    border-right: none;
  }

  .framework-cell:nth-child(n+5) {
    border-bottom: none;
  }

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

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

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .lifecycle-grid,
  .resource-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .cert-credentials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .overview-composition {
    max-width: 520px;
    padding-top: 40px;
  }

  .comp-img-main {
    width: 85%;
    height: 410px;
  }

  .comp-img-secondary {
    width: 49%;
    height: 205px;
  }

  .section-video-showcase {
    padding: 3.5rem 0 4rem;
  }

  .video-showcase-header {
    max-width: 94%;
    margin-bottom: 1.75rem;
  }

  .video-showcase-card {
    max-width: 94%;
  }

  .video-showcase-lead {
    margin-bottom: 0;
  }
}

/* ============================================================
   TABLET PORTRAIT (max-width: 991px)
   ============================================================ */
@media (max-width: 991px) {
  :root {
    --header-height: 84px;
    --header-height-scrolled: 72px;
  }

  .site-header .header-logo-img.logo-white, .site-header .header-logo-img.logo-dark {
    width: 170px;
    height: auto;
    max-width: none;
  }

  .overview-editorial-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .overview-editorial-img {
    height: 380px;
  }

  .overview-composition {
    max-width: 520px;
    margin: 0 auto;
    padding-top: 44px;
  }

  .comp-img-main {
    width: 85%;
    height: 410px;
  }

  .comp-img-secondary {
    width: 49%;
    height: 205px;
  }

  .credentials-institutional-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-headline {
    font-size: clamp(2.125rem, 5.5vw, 3.25rem);
    margin-bottom: 2rem;
  }

  .hero-headline-sub {
    font-size: clamp(1.5rem, 4.2vw, 2.25rem);
  }

  .cert-credentials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-detail-block,
  .service-detail-block.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.25rem;
  }
}

/* ============================================================
   MOBILE (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --header-height: 76px;
    --header-height-scrolled: 66px;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .header-inner {
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-header .header-logo-img.logo-white, .site-header .header-logo-img.logo-dark {
    width: 155px;
    max-width: 160px;
    height: auto;
  }

  /* Section Spacing on Mobile */
  .section-overview {
    padding: 3rem 0 4.25rem;
  }

  .section-capabilities,
  .section-featured-projects,
  .section-management,
  .section-credentials,
  .section-cta {
    padding: 4.5rem 0;
  }

  .section-clients {
    padding: 2.5rem 0 2.75rem;
  }

  .clients-section-header {
    margin-bottom: 1.25rem;
  }

  .section-cta {
    margin-bottom: 20px;
  }

  .section-video-showcase {
    padding: 3.25rem 0 3.75rem;
  }


/* DESIGN & DEVELOP BY TEHSEEN ( +923009239939 ) */

  .page-hero {
    padding: calc(var(--header-height) + 2.5rem) 0 3rem;
  }

  .capabilities-editorial-grid,
  .projects-grid,
  .client-names-grid,
  .lifecycle-grid,
  .resource-highlights-grid,
  .pec-codes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .overview-stat-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .overview-composition {
    max-width: 100%;
    padding-top: 30px;
  }

  .comp-img-main {
    width: 78%;
    height: 270px;
    border-radius: 8px;
  }

  .comp-img-secondary {
    width: 46%;
    height: 155px;
    border-radius: 8px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 10px 24px -4px rgba(7, 12, 27, 0.22);
  }

  .overview-media-caption {
    padding: 1rem 1.25rem;
  }

  .caption-tag {
    font-size: 0.625rem;
  }

  .caption-text {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  /* Disable hover zoom on mobile / touch devices */
  .comp-img-wrapper:hover .comp-img,
  .comp-img-main:hover .comp-img,
  .comp-img-secondary:hover .comp-img,
  .comp-img:hover {
    transform: none !important;
  }

  .video-showcase-header {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .video-showcase-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.5rem;
    max-width: 100%;
  }

  .video-showcase-lead {
    font-size: 0.9375rem;
    margin-bottom: 0;
    max-width: 100%;
  }

  .video-showcase-card {
    max-width: 100%;
    border-radius: 12px;
  }

  .video-showcase-media,
  .showcase-video,
  .video-showcase-overlay {
    border-radius: 12px;
  }

  .video-showcase-play-btn {
    padding: 0.625rem 1.15rem 0.625rem 0.75rem;
    gap: 0.65rem;
  }

  .play-btn-icon-wrap {
    width: 42px;
    height: 42px;
  }

  .play-btn-icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .play-btn-label {
    font-size: 0.75rem;
  }

  .management-framework-grid {
    grid-template-columns: 1fr;
  }

  .framework-cell {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 2rem 1.5rem;
  }

  .framework-cell:last-child {
    border-bottom: none !important;
  }

  .hero-banner {
    padding: calc(var(--header-height) + 1rem) 1.25rem 3.5rem;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    letter-spacing: 0.14em;
    margin-bottom: 1.25rem;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 6.2vw, 2.375rem);
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero-headline-sub {
    font-size: clamp(1.25rem, 4.5vw, 1.75rem);
    margin-top: 0.4rem;
  }

  .hero-lead {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
  }

  .hero-btn-main {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal-content-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-modal-dialog {
    padding: 1.5rem;
  }

  .card-arch-media {
    height: 190px;
  }

  .card-arch-content {
    padding: 1.35rem 1.25rem 1.35rem;
  }

  .modal-media-wrap {
    height: 190px;
    margin-bottom: 1.25rem;
  }

  .modal-gallery-wrap .modal-gallery-main {
    height: 200px;
  }

  .modal-gallery-thumb {
    width: 68px;
    height: 44px;
  }

  .modal-gallery-nav {
    width: 32px;
    height: 32px;
  }

  .card-arch-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .client-sector-group {
    padding: 1.5rem;
  }

  /* Client carousel responsive handling unified in style.css */
}

/* ============================================================
   SMALL MOBILE (max-width: 414px)
   ============================================================ */
@media (max-width: 414px) {
  :root {
    --header-height: 72px;
    --header-height-scrolled: 62px;
  }

  .site-header .header-logo-img.logo-white, .site-header .header-logo-img.logo-dark {
    width: 150px;
    max-width: 155px;
    height: auto;
  }

  .hero-headline {
    font-size: 1.625rem;
  }

  .hero-headline-sub {
    font-size: 1.2rem;
  }

  .overview-composition {
    padding-top: 24px;
  }

  .comp-img-main {
    width: 76%;
    height: 220px;
    border-radius: 7px;
  }

  .comp-img-secondary {
    width: 48%;
    height: 135px;
    border-radius: 7px;
    border: 2.5px solid #FFFFFF;
  }
}

/* Mobile Logo & WhatsApp Responsive Safety */
@media (max-width: 767px) {
  .site-header .header-logo-img.logo-white,
  .site-header .header-logo-img.logo-dark {
    width: 155px;
    max-width: 160px;
    height: auto;
  }
  .footer-logo-img {
    width: 180px;
    max-width: 100%;
    height: auto;
  }
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float-btn svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 414px) {
  .site-header .header-logo-img.logo-white,
  .site-header .header-logo-img.logo-dark {
    width: 150px;
    max-width: 155px;
    height: auto;
  }
}

/* ============================================================
   EXTRA SMALL MOBILE (max-width: 375px)
   ============================================================ */
@media (max-width: 375px) {
  .site-header .header-logo-img.logo-white,
  .site-header .header-logo-img.logo-dark {
    width: 148px;
    max-width: 150px;
    height: auto;
  }
  .footer-logo-img {
    width: 150px;
    max-width: 100%;
    height: auto;
  }
  .hero-headline {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: 0;
  }
  .hero-headline-sub {
    font-size: clamp(1.35rem, 5.5vw, 1.6rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
  }

  .overview-composition {
    padding-top: 20px;
  }

  .comp-img-main {
    width: 75%;
    height: 200px;
    border-radius: 6px;
  }

  .comp-img-secondary {
    width: 48%;
    height: 122px;
    border-radius: 6px;
    border: 2px solid #FFFFFF;
  }

  .section-video-showcase {
    padding: 2.75rem 0 3.25rem;
  }

  .video-showcase-header {
    margin-bottom: 1.25rem;
  }

  .video-showcase-card {
    border-radius: 10px;
  }

  .video-showcase-media,
  .showcase-video,
  .video-showcase-overlay {
    border-radius: 10px;
  }

  .section-clients {
    padding: 2.5rem 0 2.75rem;
  }

  .clients-section-header {
    margin-bottom: 1.25rem;
  }

  .section-cta {
    margin-bottom: 20px;
  }
}

/* ============================================================
   ABOUT PAGE RESPONSIVE ADAPTATIONS
   ============================================================ */
@media (max-width: 1024px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .table-scroll-hint {
    display: flex;
  }
  .delivery-models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .what-we-do-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .directors-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .h-tier-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .h-tier-grid-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .h-tier-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .about-page .page-hero {
    padding: calc(var(--header-height) + 2.5rem) 0 3.5rem;
  }
  .about-intro-paragraphs p {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.15rem;
  }
  .about-highlights-stack {
    gap: 1rem;
  }
  .about-tech-indicator {
    padding: 1.25rem 1.35rem;
  }
  .delivery-models-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .markets-grid {
    grid-template-columns: 1fr;
  }
  .what-we-do-grid {
    grid-template-columns: 1fr;
  }
  .h-tier-grid-2,
  .h-tier-grid-3,
  .h-tier-grid-4 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .hierarchy-connector {
    height: 20px;
  }
  .h-node {
    padding: 1rem 1.25rem;
  }
  .h-node.director {
    padding: 1.25rem 1.5rem;
  }
  .director-card {
    padding: 2.25rem 1.5rem;
  }
  .director-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .mv-card {
    padding: 2.5rem 1.75rem;
  }
  .table-scroll-hint {
    display: flex;
  }
  .section-who-we-are,
  .section-what-we-do,
  .section-mission-vision,
  .section-directors,
  .section-hierarchy,
  .section-manpower {
    padding: 4.5rem 0;
  }
}

/* ============================================================
   SERVICES / CAPABILITIES PAGE RESPONSIVE ADAPTATIONS
   ============================================================ */
@media (max-width: 1024px) {
  .services-page .page-hero {
    padding: calc(var(--header-height) + 3rem) 0 4rem;
  }

  .services-list-container {
    gap: 3.5rem;
  }

  .service-detail-block,
  .service-detail-block.reverse {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 2.5rem 2rem;
  }

  .service-detail-block.reverse .service-content {
    order: 1;
  }

  .service-detail-block.reverse .service-media {
    order: 2;
  }

  .service-media img {
    height: 320px;
  }

  .service-scope-wrap {
    padding: 1.25rem;
  }

  .service-desc {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .services-page .page-hero {
    padding: calc(var(--header-height) + 2rem) 0 3rem;
  }

  .section-lifecycle,
  .section-services-list {
    padding: 4.5rem 0;
  }

  .lifecycle-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .lifecycle-card {
    padding: 1.75rem 1.35rem;
  }

  .services-list-container {
    gap: 2.5rem;
  }

  .service-detail-block,
  .service-detail-block.reverse {
    padding: 2rem 1.25rem;
    gap: 1.75rem;
  }

  .service-title {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
  }

  .service-desc {
    font-size: 0.9375rem;
    line-height: 1.62;
    margin-bottom: 1.25rem;
  }

  .service-scope-wrap {
    padding: 1.15rem 1rem;
    margin-bottom: 1.5rem;
  }

  .service-scope-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .service-media img {
    height: 240px;
  }

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

@media (max-width: 480px) {
  .service-detail-block,
  .service-detail-block.reverse {
    padding: 1.65rem 1rem;
  }

  .service-media img {
    height: 210px;
  }
}

/* ============================================================
   PROJECTS PAGE RESPONSIVE ADAPTATIONS
   ============================================================ */
@media (max-width: 1024px) {
  .portfolio-intro-header {
    margin-bottom: 2.75rem;
  }
}

@media (max-width: 767px) {
  .portfolio-intro-header {
    margin-bottom: 2rem;
  }

  .projects-portfolio-section {
    padding: 2rem 0 3.5rem !important;
  }

  .filter-pills-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .filter-btn {
    white-space: normal;
    text-align: center;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }

  .card-arch-subcat-badge {
    max-width: 50%;
    font-size: 0.625rem;
    padding: 0.15rem 0.4rem;
  }

  .filter-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .search-input-wrapper {
    max-width: 100%;
  }

  .project-count-badge {
    text-align: center;
  }

  .btn-load-more {
    width: 100%;
  }

  .project-modal-dialog {
    padding: 1.75rem 1.25rem;
    margin: 1rem;
    max-height: 94vh;
  }

  .card-arch-media {
    height: 175px;
  }

  .modal-media-wrap {
    height: 160px;
    margin-bottom: 1rem;
  }

  .modal-gallery-wrap .modal-gallery-main {
    height: 175px;
  }

  .modal-gallery-thumb {
    width: 56px;
    height: 38px;
  }

  .modal-content-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.15rem;
  }

  .modal-title {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
  }
}

/* DESIGN & DEVELOP BY TEHSEEN ( +923009239939 ) */