/* ==========================================================
   NEWGENGURU - MEDIA QUERY CSS
   File: css/media-query.css
   Link this AFTER style.css
========================================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}


/* ==========================================================
   1280px - SMALL LAPTOP
========================================================== */
@media (max-width: 1280px) {

    /* Header */
    .navbar {
        padding: 0 28px;
    }

    .nav-links {
        gap: 22px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .book-btn {
        padding: 9px 12px;
        gap: 8px;
        font-size: 13px;
    }

    /* Common layouts */
    .hero-container,
    .about-overview-wrap,
    .challenge-wrapper {
        padding-left: 35px;
        padding-right: 35px;
    }

    /* Hero */
    .hero-content {
        width: 48%;
        padding-left: 0;
    }

    .hero-right {
        width: 52%;
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.25;
    }

    .info-card {
        width: 165px;
        padding: 14px 12px;
        gap: 10px;
    }

    .info-card > i {
        font-size: 22px;
    }

    .card2 {
        top: 250px;
        left: -15px;
    }

    /* Services strip */
    .services-wrapper {
        padding: 22px 20px;
        gap: 12px;
    }

    .service-item {
        gap: 10px;
    }

    .service-item span {
        font-size: 13px;
    }

    .service-item .icon-box {
        width: 45px;
        height: 45px;
    }

    .service-item .icon-box i {
        font-size: 18px;
    }

    /* About */
    .about-content h2,
    .challenge-heading h2,
    .solution-box h3 {
        font-size: 28px;
        line-height: 1.35;
    }

    .about-highlights {
        gap: 12px;
    }

    .service-cards-grid {
        gap: 12px;
    }

    .service-showcase-card {
        padding: 20px 12px;
    }

    .service-showcase-card img {
        width: 90px;
    }

    /* Challenges */
    .challenge-wrapper {
        grid-template-columns: 1fr 330px 1.2fr;
    }

    .solution-box {
        padding: 28px 22px;
    }

    /* Grids */
    .core-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .success-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-divider {
        margin: 0 28px;
    }
}


/* ==========================================================
   1024px - IPAD LANDSCAPE / TABLET
========================================================== */
@media (max-width: 1024px) {

    /* Header */
    .navbar {
        min-height: 78px;
        height: auto;
        padding: 15px 25px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .logo img {
        height: 38px;
    }

    .book-btn {
        font-size: 12px;
    }

    /* Hero */
    .hero {
        padding: 35px 0;
    }

    .hero-container {
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 33px;
        line-height: 1.3;
    }

    .hero-tag {
        font-size: 12px;
        padding: 9px 13px;
        margin-bottom: 18px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-btns {
        gap: 10px;
        flex-wrap: wrap;
    }

    .btn-yellow,
    .btn-outline {
        font-size: 13px;
        padding: 10px 12px;
    }

    .trust {
        margin-top: 20px;
        gap: 12px;
    }

    .avatars img {
        width: 40px;
        height: 40px;
    }

    .stars {
        font-size: 17px;
    }

    .trust strong {
        font-size: 12px;
    }

    .info-card {
        width: 145px;
        padding: 10px;
        border-radius: 14px;
    }

    .info-card h4 {
        font-size: 11px;
    }

    .percent span {
        font-size: 16px;
    }

    .card1 {
        top: 15px;
        left: 0;
    }

    .card2 {
        top: 210px;
        left: -8px;
    }

    .card3 {
        top: 0;
        right: 0;
    }

    .card4 {
        right: 12px;
        bottom: 15px;
    }

    /* Services strip */
    .services-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-radius: 18px;
    }

    .services-wrapper .divider {
        display: none;
    }

    .service-item {
        justify-content: center;
    }

    /* About */
    .about-overview-wrap {
        flex-direction: column;
    }

    .about-content,
    .service-cards-grid {
        width: 100%;
    }

    .about-content {
        max-width: 720px;
    }

    .service-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Challenges */
    .challenge-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .challenge-list-box {
        grid-column: 1 / 2;
    }

    .challenge-image-box {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .solution-box {
        grid-column: 1 / -1;
        margin-left: 0;
    }

    /* Sections side padding */
    .process-flow-section,
    .core-services-section,
    .industry-section,
    .success-stories-section,
    .impact-section {
        padding-left: 35px;
        padding-right: 35px;
    }

    /* Process */
    .process-flow-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .process-icon-wrap::after,
    .process-arrow {
        display: none;
    }

    /* Impact */
    .impact-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .impact-divider {
        display: none;
    }
}


/* ==========================================================
   768px - IPAD PORTRAIT / TABLET
========================================================== */
@media (max-width: 768px) {

    /* Header */
    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
        gap: 12px;
    }

    nav {
        order: 3;
        width: 100%;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .active::after {
        bottom: -7px;
        height: 3px;
    }

    /* Hero */
    .hero-container {
        flex-direction: column;
        padding: 0 28px;
    }

    .hero-content,
    .hero-right {
        width: 100%;
        padding-left: 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-tag,
    .hero-btns,
    .trust {
        justify-content: center;
    }

    .hero-right {
        max-width: 650px;
        margin: 15px auto 0;
    }

    .info-card {
        width: 165px;
    }

    /* Services */
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item {
        justify-content: flex-start;
    }

    /* About */
    .about-overview-wrap,
    .challenge-wrapper {
        padding-left: 28px;
        padding-right: 28px;
    }

    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Challenges */
    .challenge-wrapper {
        grid-template-columns: 1fr;
    }

    .challenge-list-box,
    .challenge-image-box,
    .solution-box {
        grid-column: auto;
        grid-row: auto;
    }

    .challenge-image-box {
        max-width: 420px;
        margin: 0 auto;
    }

    /* Grids */
    .core-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .success-stories-grid {
        grid-template-columns: 1fr;
    }

    /* Impact */
    .impact-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==========================================================
   576px - MOBILE
========================================================== */
@media (max-width: 576px) {

    /* Header */
    .navbar {
        padding: 13px 15px;
    }

    .logo img {
        height: 34px;
    }

    .book-btn {
        padding: 9px 10px;
        font-size: 11px;
        gap: 6px;
        border-radius: 8px;
    }

    .nav-links {
        gap: 10px 14px;
    }

    .nav-links a {
        font-size: 12px;
    }

    /* Hero */
    .hero {
        padding: 25px 0;
    }

    .hero-container,
    .about-overview-wrap,
    .challenge-wrapper {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.28;
    }

    .hero-content h1 br {
        display: none;
    }

    .hero-tag {
        font-size: 10px;
        padding: 8px 11px;
        gap: 6px;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 13px;
        line-height: 1.7;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-yellow,
    .btn-outline {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .trust {
        flex-direction: column;
        gap: 8px;
    }

    .hero-right {
        margin-top: 10px;
    }

    .info-card {
        width: 125px;
        padding: 8px;
        gap: 6px;
        border-radius: 10px;
    }

    .info-card > i {
        font-size: 16px;
    }

    .info-card h4 {
        font-size: 9px;
    }

    .info-card small {
        font-size: 8px;
    }

    .percent span {
        font-size: 13px;
    }

    .card1 {
        top: 0;
        left: 0;
    }

    .card2 {
        top: 43%;
        left: -2px;
    }

    .card3 {
        top: 0;
        right: 0;
    }

    .card4 {
        right: 0;
        bottom: 0;
    }

    /* Services strip */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 14px;
    }

    .service-item {
        justify-content: flex-start;
    }

    /* About */
    .about-overview {
        padding: 25px 0;
    }

    .section-label span {
        font-size: 12px;
    }

    .about-content h2,
    .challenge-heading h2,
    .solution-box h3,
    .process-heading-wrap h2,
    .core-services-header h2,
    .industry-header h2,
    .success-stories-header h2,
    .impact-header h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .about-content h2 br {
        display: none;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-highlights {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-showcase-card {
        padding: 22px 18px;
    }

    .service-showcase-card img {
        width: 110px;
    }

    /* Challenge */
    .challenge-section {
        padding: 45px 0;
    }

    .challenge-list li {
        font-size: 14px;
        gap: 10px;
    }

    .challenge-list li i {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .solution-box {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .solution-item h4 {
        font-size: 13px;
    }

    .solution-item p {
        font-size: 12px;
    }

    /* Common sections */
    .process-flow-section,
    .core-services-section,
    .industry-section,
    .success-stories-section,
    .impact-section {
        padding: 35px 18px;
    }

    /* Process */
    .process-heading-wrap {
        margin-bottom: 35px;
    }

    .process-flow-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .process-step-card {
        width: auto;
    }

    .process-icon-wrap,
    .process-main-icon {
        width: 88px;
        height: 88px;
    }

    .process-main-icon i {
        font-size: 32px;
    }

    .process-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .process-step-card h3 {
        font-size: 15px;
    }

    .process-step-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    /* Cards and grids */
    .core-services-grid,
    .industry-grid,
    .impact-wrapper {
        grid-template-columns: 1fr;
    }

    .industry-card {
        min-height: 140px;
    }

    .industry-card i {
        font-size: 36px;
        margin-bottom: 12px;
    }

    /* Success stories */
    .success-story-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .success-story-image img {
        width: 100%;
        height: auto;
        max-height: 240px;
    }

    /* Impact */
    .impact-item {
        justify-content: flex-start;
    }

    .impact-icon {
        width: 65px;
        height: 65px;
    }

    .impact-icon i {
        font-size: 28px;
    }

    .impact-content h3 {
        font-size: 25px;
    }

    .impact-content p {
        font-size: 14px;
    }

     .impact-content p br{
        display: none;
     }
}


/* ==========================================================
   375px - SMALL MOBILE
========================================================== */
@media (max-width: 375px) {

    .book-btn {
        font-size: 0;
        padding: 10px;
    }

    .book-btn .icon-box i {
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 27px;
    }

    .info-card {
        width: 110px;
    }

    .process-flow-row {
        grid-template-columns: 1fr;
    }
}













/* ==========================================================
   MOBILE HAMBURGER NAVIGATION
========================================================== */

.menu-toggle,
.menu-overlay {
    display: none;
}

/* Tablet + Mobile */
@media (max-width: 1024px) {

    .navbar {
        height: 76px;
        min-height: 76px;
        flex-wrap: nowrap;
        padding: 0 25px;
        position: relative;
        z-index: 9999;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 10px;
        background: #081b4b;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        margin-left: auto;
        order: 2;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
        border-radius: 4px;
        background: #ffffff;
        display: block;
        transition: 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .navbar nav {
        position: fixed;
        top: 0;
        right: -360px;
        width: min(86vw, 340px);
        height: 100vh;
        padding: 95px 25px 30px;
        background: #ffffff;
        z-index: 10001;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.16);
        transition: right 0.35s ease;
        overflow-y: auto;
    }

    .navbar nav.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #edf0f5;
    }

    .nav-links a {
        width: 100%;
        padding: 16px 2px;
        display: flex;
        align-items: center;
        /*justify-content: space-between;*/
        color: #081b4b;
        font-size: 15px;
        font-weight: 600;
    }

    .active::after {
        display: none;
    }

    .nav-links a.active {
        color: #0d93a8;
    }

    /* Header consultation button hide on mobile menu */
    .navbar > .book-btn {
        display: none;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(3, 16, 46, 0.58);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        display: block;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Dropdown menu desktop style hide */
    .ngg-dropdown,
    .ngg-resource-dropdown {
        position: static !important;
        display: none;
        width: 100% !important;
        min-width: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
        margin: 0 0 12px;
    }

    .has-dropdown.open .ngg-dropdown,
    .has-resource-dropdown.open .ngg-resource-dropdown {
        display: block !important;
    }

    .ngg-dropdown-grid {
        grid-template-columns: 1fr !important;
        padding: 8px 0 !important;
    }

    .ngg-dropdown-card {
        padding: 12px !important;
    }

    .ngg-dropdown-header,
    .ngg-dropdown-footer,
    .ngg-resource-header,
    .ngg-resource-footer {
        display: none;
    }

    .ngg-resource-wrapper {
        display: block !important;
    }

    .ngg-resource-featured {
        display: none;
    }

    .ngg-resource-links a {
        padding: 12px !important;
    }

    /* Consultation button inside mobile menu */
    /*.navbar nav::after {
        content: "Book Consultation";
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 22px;
        height: 48px;
        background: #f6b300;
        color: #081b4b;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
    }*/
     .mobile-menu-logo {
        display: block;
        padding-bottom: 20px;
        margin-bottom: 8px;
        border-bottom: 1px solid #edf0f5;
    }

    .mobile-menu-logo img {
        width: 155px;
        height: auto;
        display: block;
    }
}
.mobile-menu-logo {
    display: none;
}


/* Mobile header spacing */
@media (max-width: 576px) {
    .navbar {
        height: 68px;
        min-height: 68px;
        padding: 0 15px;
    }

    .logo img {
        height: 34px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .navbar nav {
        width: min(88vw, 330px);
        padding: 82px 20px 25px;
    }
}

/* ==========================================================
   MOBILE MENU FINAL FIX
========================================================== */

@media (max-width: 1024px) {

    /* Sidebar menu */
    .navbar nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: min(86vw, 340px) !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        padding: 90px 25px 30px !important;
        background: #ffffff !important;
        z-index: 999999 !important;
        overflow-y: auto !important;
        transition: right 0.35s ease !important;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18) !important;
    }

    .navbar nav.active {
        right: 0 !important;
    }

    /* Full screen dark overlay */
    .menu-overlay {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        background: rgba(4, 19, 52, 0.58) !important;
        z-index: 999998 !important;
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    .menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Header menu button always above normal header */
    .menu-toggle {
        position: relative;
        z-index: 1000000 !important;
    }

    /* Menu open hone par body page scroll nahi hoga */
    html.menu-open,
    body.menu-open {
        overflow: hidden !important;
        height: 100% !important;
        touch-action: none !important;
    }
}

@media (max-width: 576px) {
    .navbar nav {
        width: min(88vw, 340px) !important;
        padding: 82px 22px 28px !important;
    }
}

/* Mobile menu logo */
.mobile-menu-logo {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-menu-logo {
        display: block;
        padding-bottom: 20px;
        margin-bottom: 8px;
        border-bottom: 1px solid #edf0f5;
    }

    .mobile-menu-logo img {
        width: 155px;
        height: auto;
        display: block;
    }
}

body.menu-open {
    overflow: hidden;
}


/* ==========================================================
   MOBILE MENU - FINAL LAYER + BUTTON + SUBMENU FIX
========================================================== */

@media (max-width: 1024px) {

    /* Overlay menu ke PEECHE rahe */
    .menu-overlay {
        z-index: 990 !important;
    }

    /* Sidebar overlay ke UPAR rahe */
    .navbar nav {
        z-index: 99999 !important;
        background: #ffffff !important;
    }

    /* Hamburger button sidebar ke bhi upar */
    .menu-toggle {
        z-index: 100000 !important;
    }

    /* Mobile consultation button */
    .mobile-consultation-btn {
        display: flex !important;
        width: 100% !important;
        height: 50px !important;
        margin-top: 22px !important;
        padding: 0 16px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        background: #f6b300 !important;
        color: #081b4b !important;
        text-decoration: none !important;
        border: 0 !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .mobile-consultation-btn:hover,
    .mobile-consultation-btn:focus {
        color: #081b4b !important;
        text-decoration: none !important;
        background: #f6b300 !important;
    }

    .mobile-consultation-btn i {
        font-size: 16px !important;
        line-height: 1 !important;
    }

    /* Submenu default hidden */
    .has-dropdown .ngg-dropdown,
    .has-resource-dropdown .ngg-resource-dropdown {
        display: none !important;
    }

    /* Click karne par submenu show */
    .has-dropdown.open .ngg-dropdown,
    .has-resource-dropdown.open .ngg-resource-dropdown {
        display: block !important;
        position: static !important;
        width: 100% !important;
        margin: 0 0 12px !important;
        padding: 6px 0 10px !important;
        background: #f7f9fc !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Services dropdown cards */
    .ngg-dropdown-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 4px !important;
        padding: 4px !important;
    }

    .ngg-dropdown-card {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 11px 10px !important;
        background: #ffffff !important;
        border-radius: 7px !important;
        text-decoration: none !important;
    }

    .ngg-dropdown-card i {
        width: 30px !important;
        height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 7px !important;
    }

    .ngg-dropdown-card h4 {
        margin: 0 !important;
        font-size: 13px !important;
    }

    .ngg-dropdown-card p {
        display: none !important;
    }

    /* Resources dropdown */
    .ngg-resource-links a {
        display: flex !important;
        padding: 11px 12px !important;
        font-size: 13px !important;
        text-decoration: none !important;
    }

    /* Arrow rotate when open */
    .has-dropdown.open > a i,
    .has-resource-dropdown.open > a i {
        transform: rotate(180deg);
    }

    .has-dropdown > a i,
    .has-resource-dropdown > a i {
        transition: transform 0.25s ease;
    }
}

.mobile-consultation-btn{
    display: NONE;

}


/* ==========================================================
   ABOUT PAGE RESPONSIVE
========================================================== */

/* ---------- 1280px: Small Laptop ---------- */
@media (max-width: 1280px) {

    .about-hero-wrapper {
        gap: 35px;
    }

    .about-hero-title {
        font-size: 38px;
        line-height: 1.3;
    }

    .about-brand-row {
        gap: 42px;
    }

    .about-story-grid {
        gap: 50px;
    }

    .about-story-content h2 {
        font-size: 29px;
        line-height: 1.35;
    }

    .vision-mission-box {
        padding: 38px 35px;
        grid-template-columns: 1fr 145px 1fr;
    }

    .vision-circle {
        width: 125px;
        height: 125px;
    }

    .vision-circle-inner {
        width: 92px;
        height: 92px;
    }

    .capability-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-ngg-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 35px;
    }

    .why-ngg-item:nth-child(3)::after {
        display: none;
    }

    .why-ngg-item {
        padding: 0 18px;
    }
}


/* ---------- 1024px: Tablet / iPad Landscape ---------- */
@media (max-width: 1024px) {

    /* About hero */
    .about-hero-section {
        padding: 35px 0 40px;
    }

    .about-hero-wrapper {
        gap: 25px;
    }

    .about-hero-content {
        width: 48%;
    }

    .about-hero-visual {
        width: 52%;
    }

    .about-hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .about-hero-description {
        font-size: 14px;
    }

    .about-hero-actions {
        gap: 12px;
        flex-wrap: wrap;
    }

    .about-hero-actions .btn-yellow,
    .about-hero-actions .btn-outline {
        font-size: 13px;
        padding: 10px 13px;
    }

    .about-hero-dots {
        left: -20px;
        width: 65px;
        height: 65px;
    }

    .about-trusted-text {
        margin-bottom: 18px;
    }

    .about-brand-row {
        gap: 25px 38px;
    }

    .about-brand-item {
        font-size: 16px;
    }

    /* Story */
    .about-story-section {
        padding: 35px 0;
    }

    .about-story-grid {
        gap: 35px;
    }

    .about-story-content h2 {
        font-size: 27px;
        line-height: 1.35;
    }

    .about-story-content p {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .about-story-features {
        gap: 22px 25px;
    }

    .about-story-feature {
        gap: 12px;
    }

    .about-story-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .about-story-icon i {
        font-size: 20px;
    }

    .about-story-feature h4 {
        font-size: 15px;
        line-height: 1.45;
    }

    /* Vision mission */
    .vision-mission-box {
        padding: 32px 25px;
        grid-template-columns: 1fr 115px 1fr;
        gap: 15px;
    }

    .vision-mission-item {
        gap: 14px;
    }

    .vision-mission-icon {
        font-size: 40px;
    }

    .vision-mission-content h3 {
        font-size: 17px;
    }

    .vision-mission-content p {
        font-size: 13px;
        line-height: 1.65;
    }

    .vision-circle {
        width: 100px;
        height: 100px;
    }

    .vision-circle-inner {
        width: 74px;
        height: 74px;
    }

    .vision-circle-inner img {
        width: 42px;
    }

    /* Capability */
    .capability-section {
        padding: 30px 0;
    }

    .capability-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 50px;
    }

    .capability-card {
        padding: 22px 14px;
    }

    .why-ngg-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 35px;
    }

    .why-ngg-item:nth-child(3)::after {
        display: none;
    }

    .why-ngg-item {
        padding: 0 15px;
    }

    .why-ngg-item h4 {
        font-size: 15px;
    }

    .why-ngg-item p {
        font-size: 13px;
    }
}


/* ---------- 768px: iPad Portrait ---------- */
@media (max-width: 768px) {

    /* About hero */
    .about-hero-section {
        padding: 30px 0 35px;
    }

    .about-hero-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .about-hero-content,
    .about-hero-visual {
        width: 100%;
    }

    .about-hero-content {
        text-align: center;
        max-width: 650px;
        margin: 0 auto;
    }

    .about-breadcrumb,
    .about-hero-actions {
        justify-content: center;
    }

    .about-hero-title {
        font-size: 35px;
    }

    .about-hero-visual {
        max-width: 650px;
        margin: 0 auto;
    }

    .about-hero-dots {
        left: -10px;
    }

    .about-trusted-section {
        text-align: center;
    }

    .about-brand-row {
        justify-content: center;
        gap: 22px 38px;
    }

    /* Story */
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-story-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-story-content {
        max-width: 650px;
        margin: 0 auto;
    }

    .about-story-features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Vision mission */
    .vision-mission-box {
        grid-template-columns: 1fr;
        padding: 35px 30px;
        gap: 30px;
    }

    .vision-mission-box::before {
        display: none;
    }

    .vision-mission-center {
        order: -1;
    }

    .vision-mission-item {
        max-width: 580px;
        margin: 0 auto;
    }

    .vision-circle {
        width: 125px;
        height: 125px;
    }

    .vision-circle-inner {
        width: 92px;
        height: 92px;
    }

    /* Why section */
    .why-ngg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 0;
    }

    .why-ngg-item:nth-child(3)::after {
        display: block;
    }

    .why-ngg-item:nth-child(even)::after {
        display: none;
    }
}


/* ---------- 576px: Mobile ---------- */
@media (max-width: 576px) {

    /* About hero */
    .about-hero-section {
        padding: 22px 0 30px;
    }

    .about-breadcrumb {
        margin-bottom: 14px;
    }

    .about-breadcrumb a,
    .about-breadcrumb span {
        font-size: 12px;
    }

    .about-page-label {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .about-hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .about-hero-title br {
        display: none;
    }

    .about-hero-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .about-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .about-hero-actions .btn-yellow,
    .about-hero-actions .btn-outline {
        justify-content: center;
        width: 100%;
        font-size: 13px;
        padding: 12px 14px;
    }

    .about-hero-visual {
        margin-top: 0;
    }

    .about-hero-dots {
        width: 48px;
        height: 48px;
        left: -4px;
        background-size: 9px 9px;
    }

    .about-trusted-section {
        margin-top: 25px;
    }

    .about-trusted-text {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .about-brand-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

    .about-brand-item {
        justify-content: center;
        gap: 8px;
        font-size: 13px;
    }

    .about-brand-item i {
        font-size: 18px;
    }

    /* Story */
    .about-story-section {
        padding: 30px 0;
    }

    .about-story-grid {
        gap: 28px;
    }

    .about-story-tag {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .about-story-content h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .about-story-content h2 br {
        display: none;
    }

    .about-story-content p {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 25px;
    }

    .about-story-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-story-feature {
        gap: 13px;
    }

    .about-story-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .about-story-icon i {
        font-size: 18px;
    }

    .about-story-feature h4 {
        font-size: 14px;
    }

    /* Vision / Mission */
    .vision-mission-section {
        padding: 15px 0 30px;
    }

    .vision-mission-box {
        padding: 28px 20px;
        border-radius: 16px;
        gap: 25px;
    }

    .vision-circle {
        width: 105px;
        height: 105px;
    }

    .vision-circle-inner {
        width: 78px;
        height: 78px;
    }

    .vision-circle-inner img {
        width: 45px;
    }

    .vision-mission-item {
        gap: 12px;
    }

    .vision-mission-icon {
        font-size: 34px;
    }

    .vision-mission-content h3 {
        font-size: 16px;
    }

    .vision-mission-content p {
        font-size: 13px;
        line-height: 1.65;
    }

    /* Capability */
    .capability-section {
        padding: 25px 0;
    }

    .capability-title,
    .capability-subtitle {
        margin-bottom: 28px;
    }

    .capability-title h2,
    .capability-subtitle h2 {
        font-size: 25px;
        line-height: 1.3;
    }

    .capability-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 45px;
    }

    .capability-card {
        padding: 22px 18px;
    }

    .capability-card p {
        font-size: 13px;
    }

    .why-ngg-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .why-ngg-item {
        padding: 0 8px 25px;
    }

    .why-ngg-item::after,
    .why-ngg-item:nth-child(3)::after {
        display: none !important;
    }

    .why-ngg-item:not(:last-child) {
        border-bottom: 1px solid #e7edf5;
    }

    .why-ngg-item i {
        font-size: 36px;
        margin-bottom: 12px;
    }

    /* Industries + Impact heading spacing */
    .industry-section,
    .impact-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .industry-header,
    .impact-header {
        margin-bottom: 25px;
    }
}


/* ---------- 375px: Small Mobile ---------- */
@media (max-width: 375px) {

    .about-hero-title {
        font-size: 26px;
    }

    .about-brand-row {
        grid-template-columns: 1fr;
    }

    .about-brand-item {
        justify-content: flex-start;
        padding-left: 20px;
    }

    .vision-mission-item {
        flex-direction: column;
    }
}



/* ==========================================================
   FOOTER RESPONSIVE
========================================================== */

@media (max-width: 1280px) {
    .footer-cta-wrap,
    .footer-container,
    .footer-bottom {
        padding-left: 35px;
        padding-right: 35px;
    }

    .footer-cta-card {
        padding: 25px 30px;
    }

    .footer-cta-content h2 {
        font-size: 27px;
    }

    .footer-container {
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 35px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .footer-cta-wrap,
    .footer-container,
    .footer-bottom {
        padding-left: 28px;
        padding-right: 28px;
    }

    .footer-cta-card {
        gap: 25px;
    }

    .footer-cta-left {
        gap: 18px;
    }

    .footer-cta-left img {
        width: 110px;
    }

    .footer-cta-content h2 {
        font-size: 24px;
    }

    .footer-cta-content p {
        font-size: 14px;
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 25px;
    }

    .footer-brand {
        grid-column: span 3;
        max-width: 450px;
    }

    .footer-contact {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .footer-cta-wrap,
    .footer-container,
    .footer-bottom {
        padding-left: 22px;
        padding-right: 22px;
    }

    .footer-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 25px;
    }

    .footer-cta-left {
        align-items: flex-start;
    }

    .footer-cta-right {
        width: 100%;
        justify-content: space-between;
    }

    .footer-cta-btn {
        padding: 13px 18px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 576px) {
    .footer-cta-wrap,
    .footer-container,
    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-cta-wrap {
        transform: translateY(-35px);
    }

    .footer-cta-card {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .footer-cta-left {
        flex-direction: column;
        gap: 14px;
    }

    .footer-cta-left img {
        width: 90px;
    }

    .footer-cta-content h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .footer-cta-content p {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-cta-content p br {
        display: none;
    }

    .footer-cta-right {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .footer-arrow {
        display: none;
    }

    .footer-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand img {
        max-width: 180px;
    }

    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 14px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-contact p {
        font-size: 14px;
    }

    .footer-bottom {
        text-align: center;
        align-items: center;
        font-size: 12px;
    }

    .footer-bottom > div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
    }
}