/* Branding responsive styles */
/* Breakpoints: xxs max 415px | xs 416-568px | sm 640px | md 767px | lg 1023px | 1064px | xl 1280px | xxl 1880px | 2xl 1920px | 3xl 2500px */
@media (min-width: 1920px) {
  .experience-inner {
    padding: 64px;
  }
  .experience-img {
    width: 400px;
  }
}
@media (min-width: 1880px) {
  .headline,
  h1.headline {
    font-size: 60px;
    line-height: 1.1;
  }
}
@media (max-width: 1280px) {
  .footer-inner-right .footer-rightcontent {
    width: 31.33%;
    margin-left: 10px;
  }
  .clients-logos.bannerClients {
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 16px;
    background-position: 50%;
  }
  .newsletter-section-wrapper {
    height: 480px;
  }
  .newsletter-car-img {
    left: 32%;
    transform: translate(-50%, -5.5rem);
    height: 200px;
  }
  .election-section-heading{width: 100%;}
}
@media (min-width: 1024px) {
  .header-nav-desktop {
    display: flex;
  }

  .header-mega-inner {
    padding-top: 48px;
    padding-bottom: 0;
  }

  .header-mega-grid {
    grid-template-columns: 1fr 3fr;
    gap: 24px;
  }

  .header-mega-right {
    border-left: 1px solid var(--header-border);
    padding-left: 24px;
  }

  .header-mega-nav-list {
    min-height: 435px;
  }

  .header-mega-child-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-mobile-panel {
    display: none;
  }
  .headline,
  h1.headline {
    text-align: left;
  }
  .header-hamburger {
    display: none;
  }
}
@media (max-width: 1024px) {
  .header-hamburger {
    display: flex;
    margin-left: 15px;
  }
  .header-nav-desktop {
    display: none;
  }
  .clients-logos .client_logo_container {
    width: 96px;
    height: 72px;
    margin: 0 16px;
  }
  .experience-grid {
    flex-direction: column-reverse;
  }
  .experience-image-col {
    width: 100%;
    flex-shrink: 0;
    justify-content: center;
  }
  .experience-content-col {
    width: 100%;
    text-align: center;
  }
  .experience-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .newsletter-car-img {height: 170px;}
  #hubspotNewsForm form .input .hs-input, #hubspotNewsForm .hs-input {min-width: 270px;}
  #hubspotNewsForm form .actions .hs-button, #hubspotNewsForm .hs-button{min-width: 180px;}
  .newsletter-heading{font-size: 20px; top: 50px; line-height: 30px; max-width: 430px; }
  .awards-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-page .media-membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-page .news-article-layout {
    grid-template-columns: 1fr;
  }

  .news-page .news-article-visual {
    position: static;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .news-about-split > .autocontent.news-about-split__inner,
  .news-about-split > .autocontent {
    grid-template-columns: 1fr;
  }

  .news-about-split .news-about-card-wrap {
    padding-top: clamp(100px, 28vw, 140px);
  }

  .news-about-split .news-about-card-deco {
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    max-width: min(220px, 70vw);
    max-height: 120px;
  }

  .news-about-split .news-about-col--card {
    padding: clamp(24px, 4vw, 32px);
    padding-top: clamp(20px, 4vw, 28px);
    background: #f0f7ff;
  }
  #boardOfDirector .aboutUsBoxListing,
  #managementTeam .aboutUsBoxListing,
  #electionDirectorCandidates .aboutUsBoxListing {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991.98px) {
  .footer-inner-right .footer-rightcontent {
    width: 28%;
    margin-left: 10px;
  }

  .footer-inner-left ul {
    margin-bottom: 25px;
  }

  .footer-end-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .about-map-banner__inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .about-map-banner__visual {
    flex: none;
    width: 100%;
    justify-content: center;
  }

  .about-map-banner__img {
    max-width: 520px;
  }

  .about-map-banner__text {
    flex: none;
    width: 100%;
  }
  .global-banner__info-col{padding: 16px 0 32px 0;}
  .global-banner__img-col, .global-banner__info-col{
    flex: 0 0 100%;
    max-width: 100%;
  }
  .global-banner__img-col {
    padding:  20px 0;
  }
  .global-banner__info-inner {
    margin: 0 auto;
    text-align: center;
  }
  .global-banner__tagline .tagline__text {
    display: none;
  }
  .global-banner__description {
    line-height: 25px;
  }
  .global-banner__cta {
    justify-content: center;
  }
  .contact-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .niai-bakground .niai-workforce {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 36px;
  }

  .niai-bakground .niai-workforce .niaistate-section {
    max-width: none;
  }

  .niai-bakground .niai-workforce__figure-panel {
    max-width: 300px;
  }

  .niai-bakground .niai-workforce .niai-workforce__stat-card,
  .niai-bakground .niai-workforce .niai-workforce__stat-card--right {
    text-align: center;
  }

  .niai-bakground .niai-core-courses__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .niai-bakground .niai-faculty__grid.aboutUsBoxListing {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .niai-bakground .niai-faculty__body {
    max-width: none;
  }

  .niai-why .niai-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }

  .niai-bakground .niai-venue-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

}
@media (min-width: 767px) {
  .headline,
  h1.headline {
    font-size: 44px;
    line-height: 54px;
    max-width: 100%;
  }
  .newsletter-pattern-side {
    width: 42%;
    height: 100%;
    flex-shrink: 0;
    background-image: url('../assets/images/newsletter/Patterns.webp');
    background-size: cover;
  }
  .newsletter-gradient-strip {
    top: 50%;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 27%;
    min-height: 0;
    transform: translateY(-50%);
    background-image: url('../assets/images/newsletter/GradientStrip.webp');
  }
  .newsletter-gradient-side {
    width: 58%;
    flex: none;
    min-height: 0;
    background-image: url('../assets/images/newsletter/NewsletterGradient.webp');
    background-position: center;
  }
  .newsletter-form-wrapper {
    top: 50%;
    left: 66.67%;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 767px) {
  h2 {
    font-size: 25px;
    line-height: 32px;
  }
  h3 {font-size: 20px;line-height: 30px;}
  .autocontent{max-width: 100%;}
  .header-vue .header-nav.autocontent{max-width: 100%; padding-left: 16px; padding-right: 16px;}
  .clients-logos .clients-autocontent{max-width: 95%;}
  .clients-logos .client_logo_container {
    width: 80px;
    height: 45px;
    margin: 0 12px;
  }
  .newsletter-gradient-overlay{display: none;}
  .footer,
  #footer {
    padding-top: 34px;
  }
  .footer-inner-right .footer-rightcontent {
    width: 45%;
  }
  .footer-end-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .rightcontent-width {
    width: 100% !important;
  }
  .footer-end-content ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner-left ul {
    margin-bottom: 25px;
  }
  .clients-logos.bannerClients {
    padding: 1.75rem 0;
  }
  .clients-heading {
    font-size: 20px;
  }
  #experienceSection{max-width: 100%; padding: 0;} 
  .newsletter-section-wrapper {
    position: relative;
    margin-top: 40px;
    height: 400px;
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
  }
  .newsletter-heading {
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 227px;
    font-family: 'PoppinsRegular', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    text-align: center;
    margin: 0;
    min-width: 227px;
  }
  .newsletter-car-img {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-33.33%, -0.375rem);
    z-index: 10;
    height: 100px;
    object-fit: contain;
  }
  #hubspotNewsForm form .input .hs-input, #hubspotNewsForm .hs-input {
    min-width: 220px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px 0 0 10px;
  }
  #hubspotNewsForm form .actions .hs-button, #hubspotNewsForm .hs-button {
    min-width: 140px;
    height: 40px;
    border-radius: 0 10px 10px 0;
  }
  .newsletter-gradient-strip{
    transform: translateY(-174%);
    background-position: 50%;
    background-size: cover;
    height: 17%;
    min-height: 69px;
  }
  .insight-section {
    padding: 48px 0;
  }
  .insight-section-title {
    font-size: 25px;
    line-height: 32px;
    margin-bottom: 24px;
  }
  .awards-cards-grid, .aboutUsBoxListing,
  #boardOfDirector .aboutUsBoxListing,
  #managementTeam .aboutUsBoxListing,
  #electionDirectorCandidates .aboutUsBoxListing {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .media-page .media-membership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .media-page .media-membership-card {
    padding: 20px 18px;
    gap: 16px;
  }
  .media-page .media-announcements-box {
    padding: 28px 20px 0;
    margin-bottom: 48px;
  }
  .media-page .media-announcements-meta {
    margin-left: -20px;
    margin-right: -20px;
    padding: 16px 18px 20px;
  }
  .media-page .media-announcements-title {
    font-size: 22px;
    line-height: 1.3;
  }
  .media-page .media-section-title {
    font-size: 25px;
    line-height: 32px;
    margin-bottom: 24px;
  }
  #boardOfDirector .newBoardDirectorCardStyleSecond,
  #managementTeam .newBoardDirectorCardStyleSecond,
  #electionDirectorCandidates .newBoardDirectorCardStyleSecond {
    padding: 16px 20px;
    gap: 16px;
  }
  #boardOfDirector .directorImage,
  #electionDirectorCandidates .directorImage {
    width: 72px;
    height: 72px;
    margin-left: 0;
  }
  #boardOfDirector .directorImage img,
  #electionDirectorCandidates .directorImage img {
    border-radius: 14px;
  }
  .director-modal-inner {
    flex-direction: column;
  }
  .director-modal-image {
    width: 80px;
    height: 80px;
  }
  .teamPopUp .model-content {
    padding: 32px 24px;
  }
  .investorInformation .aboutUsBoxListing { 
    grid-template-columns: repeat(1, 1fr); 
    gap: 20px;
  }

  .investor-reports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .investors-page .investor-ratio-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .investor-reports-tabs .nav-link {
    padding: 8px 16px;
    font-size: 14px;
  }

  .investors-page .investor-symbol-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 18px;
  }
  .investors-page .investor-symbol-split__text {
    margin-left: auto;
    margin-right: auto;
  }
  .investors-page .investor-symbol-split__media {
    justify-content: center;
  }

  .investors-page .investor-cash-card {
    padding: 18px 16px;
  }

  .investors-page .investor-cash-card__title {
    font-size: 1.45rem;
  }

  .investors-page .investor-cash-card__footer {
    align-items: flex-start;
  }

  .investors-page .investor-edividend-point {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }

  .investors-page .investor-edividend-section__cta {
    text-align: center;
  }

  .investors-page .investor-other-info__bod-grid {
    grid-template-columns: 1fr;
  }

  .investors-page .investor-other-info__bod-cell:nth-child(odd) {
    border-right: none;
  }

  .investors-page .investor-other-info__row--2,
  .investors-page .investor-other-info__row--3 {
    grid-template-columns: 1fr;
  }

  .award-card-inner {
    min-height: 200px;
  }
  .award-card-copy {
    max-width: 100%;
    padding: 20px 20px 18px;
  }
  .award-card-year {
    padding-top: 8px;
  }
  .award-card-title {
    font-size: 17px;
  }
  .award-card-eyebrow,
  .award-card-year {
    font-size: 13px;
  }
  .listRow2Main {
    flex-direction: column;
    margin-left: 5px;
  }
  .investors-page .investors-contact-card {
    width: 100%;
    flex: none;
  }
  .office-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #hubspotForm fieldset.form-columns-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sequence-slider {
    min-height: 320px;
  }
  .global-banner__img-container.sequence-slider-container {
    min-height: 320px;
  }
}

@media (min-width: 640px) {
  .headline,
  h1.headline {
    letter-spacing: -1px;
  }
  .header-vue .header-nav.autocontent {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 639px) {
  .header-logo-svg {
    height: 22px;
  }
  .newsletter-form-wrapper {
    max-width: 280px;
  }
  .experience-stat-box .stat-value {
    font-size: 24px;
    line-height: 24px;
  }
  .experience-img {
    width: 180px;
  }
  .experience-stat-box .stat-label {
    font-size: 10px;
  }
}
@media (max-width: 567px) {
  p {
    font-size: 14px;
    line-height: 25px;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 20px;
    line-height: 28px;
  }
  h3 {font-size: 20px;line-height: 30px;}
  .insight-section-title {
    font-size: 20px;
    line-height: 28px;
  }
  .clients-logos h3 {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }
  #hubspotForm fieldset.form-columns-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .office-locations-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .investor-reports-grid {
    grid-template-columns: 1fr;
  }

  .investors-page .investor-ratio-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .rocket-launch .content {
      width: 100%;
  }
  .rocket-launch {
    height: 35vh;
  }
  .rocket-launch .text {
    font-size: 12px;
    width: 90%;
  }
  .global-banner__inner , .global-banner {min-height: 50vh;}
}
@media (max-width: 415px) {
  .clients-logos h3 {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }
}

@media (max-width: 600px) {
  .niai-why .niai-why-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Why NETSOL timeline (desktop-first rules live in rebranding.css) */
@media (max-width: 1279.98px) {
  .about-timeline__pill {
    padding: 12px 22px;
    font-size: 16px;
  }
}

@media (max-width: 991.98px) {
  .about-track__col .about-track-card--tall,
  .about-track__col .about-track-card--industries,
  .about-track__col .about-track-card--regions,
  .about-track__col .about-track-card--stat,
  .about-track__col .about-track-card--accredit {
    flex: initial;
    min-height: 0;
  }

  .about-track-card--regions {
    display: block;
    min-height: 260px;
    padding-bottom: 40px;
  }

  .about-track-card--regions .about-track-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    padding-top: 0;
  }

  .about-track-region-panels {
    flex: none;
    display: block;
    min-height: 140px;
  }

  .about-track-region-panel {
    flex: none;
  }

  .about-track-region-panel.is-active {
    display: block;
  }

  .about-timeline {
    min-height: 400px;
  }

  .about-timeline__info {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 93%;
    max-width: 1200px;
    margin: 32px auto 0;
  }

  .about-timeline__pills {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
  }

  .about-timeline__pill {
    padding: 11px 18px;
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .about-timeline__pill {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .about-timeline__pill {
    padding: 9px 14px;
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .vision-statement__hero {
    padding: 44px 0 40px;
  }

  .vision-statement__table {
    border-radius: 12px;
    min-width: 0;
    width: 100%;
  }

  .vision-statement__table-wrap {
    overflow-x: visible;
    padding-left: 16px;
    padding-right: 16px;
  }

  .vision-statement__table thead {
    display: none;
  }

  .vision-statement__table tbody th,
  .vision-statement__table tbody td {
    display: block;
    width: 100%;
    border-right: none;
    text-align: center;
  }

  .vision-statement__table tbody th {
    padding: 16px 16px 8px;
    background: transparent;
    border-top: 1px solid #e0e0e0;
  }

  .vision-statement__table tbody td {
    padding: 0 16px 16px;
    border-top: none;
  }

  .vision-statement__table tbody tr:first-child th {
    border-top: none;
    padding-top: 18px;
  }
}

@media (max-width: 767.98px) {
  .associated-companies__wrap {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .associated-companies__summary {
    grid-template-columns: 1fr 36px;
    grid-template-rows: auto auto;
    row-gap: 8px;
    padding: 14px 14px 12px;
  }

  .associated-companies__sum-col--name {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .associated-companies__sum-col--web {
    grid-column: 1 / 2;
    grid-row: 2;
    text-align: left;
  }

  .associated-companies__chevron {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .associated-companies__table {
    min-width: 0;
  }

  .associated-companies__table tbody th,
  .associated-companies__table tbody td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .associated-companies__table tbody th {
    padding-bottom: 6px;
    border-bottom: none;
    font-family: var(--PoppinsSemiBold), 'PoppinsSemiBold', sans-serif;
  }

  .associated-companies__table tbody td {
    padding-top: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
  }

  .associated-companies__table tbody tr:last-child td {
    border-bottom: none;
  }
}

/* AI learning: “What you will learn?” responsive grid */
@media (min-width: 576px) and (max-width: 991.98px) {
  .ai-learning-learn .learning-features.ai-learning {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* AI learning page: soft skills + eligibility (ai-learning.php) – responsive */
@media (min-width: 768px) {
  .soft-skills-slider {
    --ss-gap: 22px;
  }
}

@media (min-width: 1024px) {
  .soft-skills-slider {
    --ss-gap: 26px;
  }
}

@media (max-width: 991.98px) {
  .soft-skills-nav {
    position: static;
    transform: none;
  }

  .soft-skills-head {
    flex-direction: column;
    gap: 14px;
    min-height: 0;
  }

  .soft-skills-title {
    padding: 0 8px;
  }
}

@media (max-width: 575.98px) {
  .ai-learning-learn .learning-features.ai-learning {
    grid-template-columns: 1fr;
  }

  .soft-skills-nav__btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .ai-eligibility__topics {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ai-eligibility__topics li {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    max-width: 22rem;
    margin: 0 auto;
    padding-left: 0;
    text-align: left;
  }

  .ai-eligibility__topics li::before {
    position: static;
    flex-shrink: 0;
    margin-top: 3px;
  }
}
