/* =========================================
   RESPONSIVENESS (Mobile First -> Desktop)
   ========================================= */

@media (max-width: 1280px) {

}

@media (max-width: 1199px) {
.header .nav-links{gap: 1.2rem;}
.header .nav-links .btn{margin-left: 1rem;}
.max-wid-80 {
  max-width: 100%;
}

.hero-section h1{font-size: 4rem;}

.tongan-life-section .col {
    flex: 0 0 50%;
}
.secure-digital-layer-section{margin-bottom: 0;}
.secure-digital-layer-section .digital-layer-card{top: 0;}
.secure-digital-layer-section .digital-layer-card .row{justify-content: center;}
.secure-digital-layer-section .digital-layer-card .col {
    flex: 0 0 33%;
}
.core-services-section .core-services-grid{    grid-template-columns: repeat(3, 1fr);}
.footer .footer-top{padding: 2rem 0;}
.membership-pricing-section .pricing-card-price{margin-bottom: 0.5rem;}

}

@media (max-width: 991px) {
  .same-heading {
    margin-bottom: 2rem;
  }

  /* Global */
  .same-section { padding: 3.5rem 0; }
  .max-wid-50 { max-width: 100%; }

  /* Header */
  .header .nav-actions {
    display: none;
  }

  .header .nav-content{justify-content: space-between;}
  .header .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.6rem;
        z-index: 1002;
        transition: left 0.3s ease-in-out;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  }
  .header .nav-links .btn{margin-left: 0; margin-top: 0.8rem;}

  .header .nav-links.active{        left: 0;}

  .header .sidebar-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f6f6f6;
}

  /* Style links for full screen */
  .header .nav-links a:not(.btn) {
    font-size: 1.1rem;
    text-align: center;
    border-bottom: none;
    font-weight: 500;
    color: var(--BlackColor);
    padding: 0.2rem 0;
  }

  .header .nav-links a:hover:not(.btn) {
    color: var(--PrimaryColor);
  }

  .header .nav-links .btn {
    font-size: 1rem;
  }

  /* Ensure toggle is above the menu */
.header .mobile-toggle {display: inline-flex;position: relative; z-index: 1000;}
.section-bottom-btn { flex-wrap: wrap;}
.hero-section{min-height: inherit;    padding: 8rem 0rem 3rem;}
.hero-section h1{font-size: 3rem;}
.same-heading h2{font-size: 2.6rem;}
.digital-kingdom-section .dk-wave-bottom{margin-top: 0;}
.membership-pricing-section .pricing-card{padding: 1rem;}




}


@media (max-width: 767px) {

.border-radius-20 { border-radius: 10px; }
.same-heading h2 br{display: none;}
.section-bottom-btn{gap: 0.6rem;}
.same-heading h3 br{display: none;}
.same-heading h2 br{display: none;}

}

@media (max-width: 568px) {
.same-heading h2 { font-size: 2rem;}
.core-services-section .core-services-grid {  grid-template-columns: repeat(2, 1fr); }
.digital-treaty-section .img-bx{width: 100%; max-width: 50%; margin: auto;}
.leadership-card{padding: 1rem;}

}


@media (max-width: 480px) {

.core-services-section .core-services-grid { grid-template-columns: repeat(1, 1fr);}
.digital-kingdom-section .partner-marketplace-card{padding: 1rem;}
.secure-digital-layer-section .digital-layer-card .col {flex: 0 0 100%; }
.tongan-life-section .col {flex: 0 0 100%;}
.services-section .service-card{padding: 1rem;}

}

@media (max-width: 767px) {
.footer .footer-top { padding: 3.5rem 0 2.5rem; }
.footer .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
.footer .footer-bottom-links { justify-content: center; }
}