/* ============================================================
   mobile.css — NAACS Responsive Stylesheet
   Breakpoints:
     XL  : max-width 1199px  (large laptops)
     LG  : max-width 991px   (tablets / small laptops)
     MD  : max-width 767px   (large mobile / landscape)
     SM  : max-width 575px   (standard mobile)
     XS  : max-width 380px   (small mobile)
============================================================ */


/* ============================================================
   XL — 1199px  (large laptops, reduce large font sizes)
============================================================ */
@media (max-width: 1199px) {

    /* Typography */
    .section-title {
        font-size: 34px;
    }

    .banner-sub-title {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    /* Hero */
    .hero-section img {
        height: 680px;
    }

    .hero-section .carousel-caption {
        width: 70%;
    }

    .hero-section .carousel-caption .banner-title {
        font-size: 64px;
    }

    /* CTA */
    .cta-title {
        font-size: 44px;
    }

    .cta-wrapper {
        padding: 80px 60px;
    }

    /* Legal Advisory (homepage section) */
    .legal-main-title {
        font-size: 44px;
    }

    .legal-left-panel {
        padding: 80px 50px;
    }

    /* Members dark section */
    .members-dark-title {
        font-size: 50px;
    }

    /* Accreditation */
    .accreditation-highlight-content h3 {
        font-size: 36px;
    }

    /* Contact */
    .contact-form-heading h3 {
        font-size: 36px;
    }

    /* Dark card */
    .dark-card {
        padding: 55px 50px;
    }

    .about-cta-title {
        font-size: 28px;
    }

    /* Service detail */
    img.service-details-image {
        height: 560px;
    }

    /* About page */
    .about-img-main img {
        height: 520px;
    }

    /* Legal advisory page */
    .legal-intro-img-wrap img {
        height: 480px;
    }

    /* AAF page */
    .aaf-intro-img-wrap img {
        height: 440px;
    }

}


/* ============================================================
   LG — 991px  (tablets, collapsed nav, stacked columns)
============================================================ */
@media (max-width: 991px) {

    /* ── Global ── */
    section {
        padding: 55px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .section-description {
        font-size: 16px;
    }

    /* ── Navbar ── */
    .main-navbar {
        margin-top: 0;
    }

    .main-logo {
        width: 160px;
    }

    ul.navbar-nav {
        padding: 15px;
        gap: 0 !important;
    }

    .navbar-nav .nav-link {
        padding-bottom: 14px;
        font-size: 15px;
        border-bottom: 1px solid #f0f3f8;
    }

    .navbar-nav .nav-link::before {
        display: none;
    }

    .secondary-navbar .container {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .sub-menu-nav {
        width: 100%;
    }

    ul.sub-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }

    /* ── Hero ── */
    .hero-section img {
        height: 540px;
    }

    .hero-section .carousel-caption {
        width: 80%;
    }

    .hero-section .carousel-caption .banner-title {
        font-size: 48px;
    }

    .hero-section .carousel-caption p {
        font-size: 1.1rem;
    }

    /* ── Feature cards ── */
    .feature-card {
        padding: 45px 28px;
    }

    /* ── About (homepage) ── */
    .about-image-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-main-image {
        min-height: auto;
    }

    .about-experience-box {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        max-width: 100%;
    }

    .about-mini-card h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    /* ── Why choose ── */
    .why-choose-card {
        padding: 30px;
    }

    .why-choose-card h3 {
        font-size: 20px;
    }

    /* ── Services (homepage) ── */
    .service-card {
        padding: 35px 25px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    /* ── Legal advisory (homepage) ── */
    .legal-left-panel {
        padding: 60px 30px;
    }

    .legal-grid-wrapper {
        padding: 50px 20px;
    }

    .legal-main-title {
        font-size: 34px;
    }

    .legal-service-card {
        padding: 28px;
    }

    .legal-highlight-box {
        padding: 25px;
        gap: 15px;
        display: grid;
    }

    .legal-highlight-box h4 {
        font-size: 20px;
    }

    /* ── CTA section ── */
    .cta-wrapper {
        padding: 60px 30px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-btn-area {
        text-align: left !important;
    }

    /* ── Accreditation (homepage) ── */
    .accreditation-highlight-box {
        padding: 45px 28px;
    }

    .accreditation-highlight-content h3 {
        font-size: 28px;
    }

    .accreditation-process-card {
        flex-direction: column;
        gap: 20px;
        padding: 28px;
    }

    /* ── Members dark (homepage) ── */
    .members-dark-title {
        font-size: 36px;
    }

    .members-dark-card {
        padding: 30px 22px;
    }

    .members-dark-bottom {
        padding: 30px 22px;
        margin-top: 50px;
    }

    .members-dark-bottom h3 {
        font-size: 26px;
    }

    /* ── Contact (homepage) ── */
    .contact-left-area,
    .contact-form-area {
        padding: 55px 28px;
    }

    .contact-form-heading h3 {
        font-size: 28px;
    }

    /* ── Footer ── */
    .footer-top {
        padding: 60px 0 45px;
    }

    .footer-widget-title {
        font-size: 22px;
        margin-bottom: 22px;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* ── Breadcrumb ── */
    section.breadcrumb-sec {
        padding-top: 140px;
    }

    .breadcrumb-title {
        font-size: 32px;
    }

    /* ── Dark card (global CTA) ── */
    .dark-card {
        padding: 45px 30px;
    }

    .about-cta-title {
        font-size: 24px;
    }

    /* ── Service detail pages ── */
    img.service-details-image {
        height: 440px;
    }

    .service-details-experience {
        left: 20px;
        bottom: 20px;
        padding: 22px;
        max-width: 220px;
    }

    .service-details-experience h4 {
        font-size: 26px;
    }

    .service-feature-wrapper {
        margin-top: 60px;
    }

    .service-feature-card {
        padding: 32px 22px;
    }

    .service-feature-card h4 {
        font-size: 22px;
    }

    /* ── About page ── */
    .about-content-wrap {
        padding-left: 0;
    }

    .about-img-main img {
        height: 420px;
    }

    .about-img-badge {
        left: 0;
        bottom: 90px;
    }

    .about-vm-card {
        padding: 38px 30px;
    }

    /* ── Legal advisory page ── */
    .legal-intro-img-wrap img {
        height: 380px;
    }

    .legal-service-card.page {
        padding: 28px 24px;
    }

    .legal-service-title {
        font-size: 18px;
    }

    .legal-why-card {
        padding: 24px 20px;
    }

    img.legal-adv-img {
        height: auto;
    }

    /* ── AAF page ── */
    .aaf-intro-img-wrap img {
        height: 340px;
    }

    .aaf-scope-item {
        padding: 26px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .aaf-service-img-box {
        min-height: 210px;
        padding: 32px 26px;
    }

    .aaf-service-img-box h3 {
        font-size: 20px;
    }

    .aaf-scope-card {
        padding: 28px 24px;
    }

    /* ── Members page ── */
    .members-domain-strip {
        flex-wrap: wrap;
    }

    .members-domain-item {
        flex: 1 1 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px 16px;
    }

    .members-domain-divider {
        display: none;
    }

    .members-type-header {
        padding: 32px 26px;
    }

    .members-type-header h3 {
        font-size: 19px;
    }

    .members-roles-card {
        padding: 28px 24px;
    }

    /* ── Contact page ── */
    .contact-intro-card {
        padding: 38px 28px;
    }

    .contact-intro-card h3 {
        font-size: 26px;
    }

    /* ── Policy page ── */
    .policy-item {
        flex-direction: column;
        padding: 30px 22px;
        gap: 20px;
    }

    .policy-content h3 {
        font-size: 24px;
    }

    .policy-contact-box {
        padding: 45px 28px;
    }

    .policy-contact-grid {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   MD — 767px  (large phones / landscape)
============================================================ */
@media (max-width: 767px) {

    /* ── Global ── */
    section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .sub-title {
        font-size: 15px;
    }

    /* ── Navbar ── */
    .secondary-navbar {
        display: none;
    }

    .main-navbar {
        margin-top: 0;
    }

    .main-logo {
        width: 140px;
    }

    /* ── Hero ── */
    .hero-section img {
        height: 420px;
    }

    .hero-section .carousel-caption {
        width: 80%;
    }

    .hero-section .carousel-caption .banner-title {
        font-size: 36px;
    }

    .hero-section .carousel-caption p {
        font-size: 1rem;
    }

    .hero-section .carousel-caption {
        text-align: center !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%);
    }

    .hero-section .carousel-caption.right-caption {
        width: 70%;
    }

    /* ── Feature ── */
    .feature-card {
        padding: 35px 22px;
    }

    /* ── About section number ── */
    .about-experience-box h3 {
        font-size: 34px;
    }

    /* ── Service card ── */
    .service-card {
        padding: 30px 22px;
    }

    .service-number {
        font-size: 50px;
    }

    /* ── CTA ── */
    .cta-wrapper {
        padding: 50px 22px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-description {
        font-size: 15px;
    }

    /* ── Footer ── */
    .footer-top {
        padding: 50px 0 35px;
    }

    .footer-logo img {
        width: 180px;
        margin-bottom: 22px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom-links {
        justify-content: flex-start;
    }

    .copyright-text {
        margin-bottom: 12px;
    }


    .contact-info-item h4 {
        color: #fff;
        font-size: 18px;
        margin-bottom: 7px;
    }

    .contact-info-icon {
        width: 50px;
        height: 50px;
        background: rgba(61, 177, 102, 0.12);
        color: var(--theme-color-2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        min-width: 50px;
    }

    .contact-commitment-box h4 {
        color: #fff;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .contact-commitment-box p {
        line-height: 1.6;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contact-main-description {
        color: #d1d7e2;
        line-height: 1.5;
        font-size: 14px;
        margin-bottom: 30px;
    }

    /* ── Breadcrumb ── */
    section.breadcrumb-sec {
        padding-top: 120px;
        padding-bottom: 24px;
    }

    ol.breadcrumb-list {
        flex-wrap: wrap;
    }

    .breadcrumb-title {
        font-size: 26px;
    }

    .breadcrumb-items {
        font-size: 14px;
    }

    /* ── Dark card ── */
    .dark-card {
        padding: 35px 22px;
    }

    .about-cta-title {
        font-size: 22px;
    }

    .about-cta-text {
        font-size: 14px;
    }

    /* ── Service detail pages ── */
    img.service-details-image {
        height: 320px;
    }

    .service-details-experience {
        position: static;
        margin-top: 0;
        max-width: 100%;
        padding: 20px;
    }

    .service-details-experience h4 {
        font-size: 22px;
    }

    .service-feature-wrapper {
        margin-top: 45px;
    }

    .service-feature-card {
        padding: 28px 20px;
    }

    .service-feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 22px;
    }

    .service-feature-card h4 {
        font-size: 20px;
    }

    /* ── About page ── */
    .about-img-main img {
        height: 320px;
    }

    .about-img-badge {
        position: static;
        box-shadow: none;
        border: 1px solid #e8edf5;
        margin-top: 12px;
    }

    .about-img-stat {
        padding: 16px 20px;
    }

    .about-stat-number {
        font-size: 28px;
    }

    .about-expertise-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-vm-card {
        padding: 30px 24px;
    }

    /* ── Legal advisory page ── */
    .legal-intro-img-wrap img {
        height: 280px;
    }

    .legal-service-card-top {
        flex-direction: column;
        gap: 12px;
    }

    .legal-service-title {
        font-size: 17px;
    }

    /* ── AAF page ── */
    .aaf-intro-img-wrap img {
        height: 260px;
    }

    .aaf-intro-badge {
        position: static;
    }

    .aaf-scope-item {
        padding: 20px 16px;
    }

    .aaf-scope-item h5 {
        font-size: 15px;
    }

    .aaf-service-img-box {
        min-height: 180px;
        padding: 26px 22px;
    }

    .aaf-service-img-box h3 {
        font-size: 18px;
    }

    .aaf-commit-item {
        padding: 20px 18px;
        gap: 14px;
    }

    .aaf-commit-item h5 {
        font-size: 16px;
    }

    /* ── Members page ── */
    .members-domain-item {
        flex: 1 1 100%;
    }

    .members-type-header {
        padding: 28px 22px;
    }

    .members-type-header h3 {
        font-size: 18px;
    }

    .members-roles-card {
        padding: 24px 20px;
    }

    .members-role-item {
        gap: 12px;
    }

    .members-role-item h5 {
        font-size: 15px;
    }

    .members-value-card {
        padding: 24px 20px;
    }

    .members-value-card h5 {
        font-size: 16px;
    }

    /* ── Contact page ── */
    .contact-intro-card {
        padding: 30px 22px;
    }

    .contact-intro-card h3 {
        font-size: 22px;
    }

    .contact-intro-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .contact-form-heading h3 {
        font-size: 22px;
    }

    /* ── Policy page ── */
    .policy-contact-box {
        padding: 35px 22px;
    }

    .policy-contact-box h3 {
        font-size: 30px;
    }

    .policy-number {
        min-width: 70px;
        height: 70px;
        font-size: 24px;
    }

    /* ── Form ── */
    .form-control,
    .form-select {
        min-height: 52px;
        padding: 12px 16px;
    }

    /* ── Btn button ── */
    .btn-button {
        font-size: 15px;
        padding: 15px 18px;
    }

    .accreditation-highlight-icon {
        display: none;
    }

    .legal-service-card h3 {
        font-size: 22px;
    }

    .accreditation-step img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .accreditation-step {
        justify-content: left;
    }


}


/* ============================================================
   SM — 575px  (standard mobile)
============================================================ */
@media (max-width: 575px) {

    /* ── Global ── */
    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        line-height: 1.35;
    }

    /* ── Hero ── */
    .hero-section img {
        height: 360px;
    }

    .hero-section .carousel-caption {
        width: 70%;
    }

    .hero-section .carousel-caption .banner-title {
        font-size: 24px;
    }

    .hero-section .carousel-caption p {
        display: none;
    }

    .hero-section .carousel-indicators {
        display: none;
    }

    section.hero-section .carousel-control-next-icon,
    section.hero-section .carousel-control-prev-icon {
        width: 45px;
        height: 45px;
        background-size: 25px;
    }

    .right-caption .bg-highlight,
    .center-caption .bg-highlight {
        width: 100%;
        height: 100px;
        top: 40%;
        left: 0px;
    }

    /* ── Feature strip ── */
    .feature-card {
        padding: 30px 18px;
    }

    /* ── Footer ── */
    .footer-social-links {
        gap: 10px;
    }

    .footer-social-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .footer-contact-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 18px;
    }

    /* ── Breadcrumb ── */
    section.breadcrumb-sec {
        padding-top: 105px;
    }

    .breadcrumb-title {
        font-size: 20px;
    }

    /* ── Dark card ── */
    .dark-card {
        padding: 28px 18px;
    }

    .about-cta-title {
        font-size: 19px;
    }

    .about-experience-box p {
        color: #fff;
    }

    /* ── Service detail pages ── */
    img.service-details-image {
        height: 260px;
    }

    .service-feature-card {
        padding: 24px 18px;
    }

    .service-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 18px;
    }

    .service-feature-card h4 {
        font-size: 18px;
    }

    .service-feature-card p {
        font-size: 14px;
    }

    /* ── About page ── */
    .about-img-main img {
        height: 240px;
    }

    .about-img-stat {
        flex-direction: column;
        gap: 0;
        padding: 16px;
    }

    .about-stat-divider {
        width: 60px;
        height: 1px;
        margin: 10px 0;
    }

    .about-stat-number {
        font-size: 28px;
    }

    .about-expertise-grid {
        grid-template-columns: 1fr;
    }

    .about-why-card {
        padding: 28px 20px;
    }

    .about-why-card-num {
        font-size: 46px;
    }

    .about-vm-card {
        padding: 26px 20px;
    }

    /* ── Legal advisory page ── */
    .legal-stat-num {
        font-size: 26px;
    }

    .legal-service-card {
        padding: 24px 20px;
    }

    .legal-scope-card {
        padding: 24px 20px;
    }

    .legal-intro-highlights {
        gap: 8px;
    }

    .legal-highlight-item {
        font-size: 14px;
    }

    /* ── AAF page ── */
    .aaf-pill {
        font-size: 12px;
        padding: 7px 12px;
    }

    .aaf-intro-pills {
        gap: 8px;
    }

    .aaf-scope-card {
        padding: 22px 18px;
    }

    .aaf-scope-card-list li {
        font-size: 13px;
    }

    .aaf-service-img-box {
        padding: 22px 18px;
    }

    .aaf-service-img-box h3 {
        font-size: 17px;
    }

    .aaf-commit-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    /* ── Members page ── */
    .members-domain-num {
        font-size: 28px;
    }

    .members-domain-lbl {
        font-size: 12px;
    }

    .members-type-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .members-role-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }

    .members-role-item h5 {
        font-size: 14px;
    }

    .members-role-item p {
        font-size: 13px;
    }

    /* ── Contact page ── */
    .contact-intro-card {
        padding: 26px 18px;
    }

    .contact-intro-card h3 {
        font-size: 20px;
    }

    ul.contact-help-list li {
        font-size: 14px;
    }

    /* ── Policy page ── */
    .policy-item {
        padding: 24px 18px;
    }

    .policy-content h3 {
        font-size: 20px;
    }

    .policy-contact-box h3 {
        font-size: 26px;
    }

    /* ── Form ── */
    .form-control,
    .form-select {
        min-height: 48px;
        padding: 10px 14px;
        font-size: 14px;
    }

    textarea.form-control {
        min-height: 140px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* ── Buttons ── */
    .btn-button {
        font-size: 14px;
        padding: 14px 16px;
        white-space: normal;
    }

    .btn-button i {
        display: none;
    }

    /* ── Footer bottom ── */
    .footer-bottom-links {
        gap: 12px;
    }

    .footer-bottom-links a {
        font-size: 13px;
    }

    .copyright-text {
        font-size: 13px;
    }

}


/* ============================================================
   XS — 380px  (small/mini phones: iPhone SE, Galaxy A series)
============================================================ */
@media (max-width: 380px) {

    /* ── Global ── */
    section {
        padding: 32px 0;
    }

    .section-title {
        font-size: 21px;
    }

    .sub-title {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    /* ── Hero ── */
    .hero-section img {
        height: 300px;
    }

    .hero-section .carousel-caption .banner-title {
        font-size: 18px;
    }

    .banner-sub-title {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 9px;
    }

    .hero-section .carousel-caption p {
        font-size: 0.9rem;
    }

    /* ── Logo ── */
    .main-logo {
        width: 120px;
    }

    /* ── Breadcrumb ── */
    .breadcrumb-title {
        font-size: 19px;
    }

    section.breadcrumb-sec {
        padding-top: 95px;
    }

    /* ── Dark card ── */
    .dark-card {
        padding: 22px 14px;
    }

    .about-cta-title {
        font-size: 17px;
    }

    /* ── Service detail pages ── */
    img.service-details-image {
        height: 220px;
    }

    .service-feature-card h4 {
        font-size: 16px;
    }

    /* ── About page ── */
    .about-img-main img {
        height: 210px;
    }

    .about-vm-card {
        padding: 20px 16px;
    }

    .about-why-card {
        padding: 22px 16px;
    }

    /* ── AAF page ── */
    .aaf-scope-card {
        padding: 18px 14px;
    }

    .aaf-service-img-box {
        padding: 18px 14px;
    }

    /* ── Members page ── */
    .members-type-header {
        padding: 22px 16px;
    }

    .members-roles-card {
        padding: 20px 16px;
    }

    /* ── Form ── */
    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 13px;
    }

    .btn-button {
        font-size: 13px;
        padding: 12px 14px;
    }

    /* ── Footer ── */
    .footer-logo img {
        width: 150px;
    }

    .footer-widget-title {
        font-size: 18px;
    }

    ul.footer-links li a {
        font-size: 14px;
    }

}