/* =========================================
   RESPONSIVENESS (Mobile First -> Desktop)
   ========================================= */
@media (max-width: 1400px) {

  .header .nav-links{gap: 1.5rem;}
  .header .nav-content{gap: 2rem;}

}


@media (max-width: 1199px) {

.max-wid-80 {
  max-width: 100%;
}




/* Feature */
.feature-section .card-text { max-width: 100%; }

.hero-section .hero-content p{max-width: 80%}


}

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

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

.section-bottom-btn { flex-wrap: wrap;}

  /* Header */
  .header .nav-actions {
    display: none;
  }
.header .nav-links{gap: 1.2rem;}
.header .nav-links .btn{margin-left: 1rem;}

.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;}
.hero-section .hero-content p{max-width: 80%;}
.hero-section{padding: 4rem 0;}
.hero-section .hero-content h1{font-size: 2rem;}
.hero-section::before{    width: 20rem; height: 20rem;  top: 5rem;}
.hero-section::after{ width: 20rem;height: 20rem; bottom:0}
.hero-section .image-wrapper{max-width: 60%;}
.same-heading h2{font-size: 2rem;}

.zen-section .container{padding-bottom: 3rem;}
.main-footer{padding: 3rem 0 1rem;}
.main-footer .footer-brand{margin-bottom: 2rem;}
.main-footer .footer-bottom{margin-top: 1rem;}
.hero-section::before{  width: 6rem; height: 6rem;}
.hero-section::after{ width: 6rem; height: 6rem;}

/* ── Life Layer: mobile accordion ── */
.mobile-life-svg {
  display: block;
  margin: 0 auto 2rem;
  max-width: 340px;
}

.mobile-life-list {
  display: flex;
  flex-direction: column;
}

.mobile-life-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-life-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-life-header {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}
.mobile-life-header::-webkit-details-marker { display: none; }
.mobile-life-item[open] > .mobile-life-header { color: #fff; }

.mobile-life-num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--WhiteColor);
  min-width: 1.4rem;
}
.mobile-life-name {
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
}
.mobile-life-header::after {
  content: '+';
  font-size: 1.3rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.mobile-life-item[open] > .mobile-life-header::after {
  content: '−';
  color: rgba(255, 255, 255, 0.8);
}

.mobile-life-body {
  padding: 0.2rem 0 1.2rem 2.3rem;
}
.mobile-life-body p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}
.mobile-life-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.mobile-life-tags span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  white-space: nowrap;
}
.deployment-section .deployment-content{border: 0;}
.deployment-section .deployment-content .row{margin: 0 -15px;}
.deployment-section .deployment-content .col-lg-3{padding: 0 15px;}
.deployment-section .deploy-card{border: solid 1px var(--PrimaryColor) !important; height: auto !important; border-radius: 10px; margin: 1rem 0;}
.hero-section{margin-top: 0;}

}


@media (max-width: 767px) {


.same-heading h2 br{display: none;}
.clear-software-section .dw-cards-wrap{flex-direction: column;}
.clear-software-section .dw-connector{margin: 1rem auto;}
.deployment-section .deploy-card p{min-height: inherit;}
}

@media (max-width: 568px) {
.framework-future-section .life-card-content,.framework-future-section .life-card h3{min-height: inherit;}
.hero-section .hero-content p{max-width: 100%;}
}
