/* ============================================================
   RESPONSIVE OVERRIDES
   Breakpoints: sm ≥576 | md ≥768 | lg ≥992 | xl ≥1200
   Base styles live in style.css — only layout/size changes here.
============================================================ */

html,
body {
  overflow-x: hidden;
}

/* -------------------------------------------------------
   DESKTOP FINE-TUNING
------------------------------------------------------- */
@media (min-width: 1200px) {
  .hero-section .col-lg-6:last-child img {
    max-width: 580px;
  }

  .bond-accordion .accordion-button {
    padding: 28px 0;
  }

  .bond-accordion .accordion-body {
    padding: 0 0 32px 60px;
  }
}

@media (min-width: 992px) {
  .problem-feature {
    min-height: 100%;
  }
}

@media (max-width: 1199px) {
  :root {
    --spacing-section: 80px;
  }

  .hero-section h1 {
    font-size: 44px;
  }

  .bond-accordion .accordion-button {
    padding: 22px 0;
    gap: 16px;
  }

  .bond-accordion .accordion-body {
    padding: 0 0 24px 52px;
  }
}

/* -------------------------------------------------------
   TABLET & MOBILE NAV (≤ 991px)
------------------------------------------------------- */
@media (max-width: 991px) {
  :root {
    --spacing-section: 64px;
  }

  .site-header .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-toggler {
    border: 1px solid var(--color-border);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
  }

  .navbar-collapse {
    display: none;
    background: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    padding: 16px 0 20px;
    margin-top: 10px;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    gap: 0 !important;
    margin-bottom: 16px;
  }

  .header-actions {
    flex-direction: column;
    gap: 8px !important;
    padding: 0 4px;
  }

  .header-actions .btn-ghost-nav,
  .header-actions .btn-primary-gradient {
    width: 100%;
    justify-content: center;
  }

  /* Mobile Menu fixing issue start */
  /* style.css has an unconditional (not desktop-scoped) hover rule,
     ".nav-item-dropdown:hover .features-mega-dropdown", that also sets
     transform. That selector has 2 classes vs. this rule's 1, so on a
     phone — where tapping the menu leaves it in a "stuck" :hover state,
     which is normal touch-browser behavior — the hover rule's
     "transform: translateX(-50%) translateY(0)" was winning by
     specificity regardless of this file loading later, shoving half of
     this now-full-width panel off-screen to the left (the cut-off text).
     "!important" here forces this file's "no transform" to win on mobile
     no matter what :hover state is active. */
  .features-mega-dropdown {
    position: static;
    transform: none !important;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .features-mega-dropdown.is-open {
    display: block;
    transform: none !important;
  }
  /* Mobile Menu fixing issue end */

  .fmd-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .fmd-footer-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
.legal-disclaimer {
  width: 95%;
  margin-inline: auto;
}

  /* Hero */
  .hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-section .col-lg-6:last-child {
    padding-left: 0;
    margin-top: 8px;
  }

  /* Problem — stack grid on tablet */
  .problem-bento {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
/* 	fix the Problem grid */
	.problem-bento > :nth-child(2),
	.problem-bento > :nth-child(3),
	.problem-bento > :last-child {
  	grid-column: 1 / -1;
	}

  .problem-section .problem-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* Split headers */
  .split-header {
    margin-bottom: 2.5rem;
  }

  .platform-section .col-lg-6:last-child,
  .capabilities-section .split-header .col-lg-6:last-child p {
    margin-left: 0;
    max-width: 100%;
  }

  /* Bond accordion */
  .bond-accordion .accordion-button {
    gap: 14px;
    padding: 20px 0;
  }

  .bond-accordion .accordion-button > span:first-child {
    font-size: 18px;
    min-width: 28px;
  }

  .bond-accordion .bond-btn-meta > span:last-child {
    font-size: 17px;
  }

  .bond-accordion .accordion-body {
    padding: 0 0 22px 44px;
  }

  /* Testimonial */
  .testimonial-card {
    padding: 36px 28px;
  }

  .testimonial-section .col-lg-7,
  .testimonial-section .col-lg-5 {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonial-body {
    min-height: auto;
    gap: 36px;
  }

  /* Solutions — stack */
  .solution-panels {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .solution-panel,
  .solution-panel.is-expanded {
    flex: none;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    transition: none;
  }

  .solution-panel-expanded {
    position: relative;
    inset: auto;
    min-width: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .solution-panel:not(.is-expanded) .solution-panel-expanded {
    display: none;
  }

  .solution-panel.is-expanded .solution-panel-collapsed {
    display: none;
  }

  .solution-panel.is-expanded .solution-panel-expanded {
    display: flex;
    height: auto;
  }

  .solution-panel:not(.is-expanded) .solution-panel-collapsed {
    height: 72px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 20px;
  }

  .solution-panel:not(.is-expanded) .solution-panel-collapsed > span:nth-child(2) {
    writing-mode: horizontal-tb;
    transform: none;
    flex: 1;
    justify-content: flex-start;
    padding: 0;
  }

  .solution-panel:not(.is-expanded) .solution-panel-collapsed > span:last-child {
    margin-left: auto;
  }

  /* Shift comparison */
  .frag-card-outer {
    flex-direction: column;
    overflow: hidden;
  }

  .frag-card-before {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 32px 28px 40px;
  }

  .frag-card-after {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 48px 28px 32px;
  }

  .frag-arrow {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }

  /* CTA */
  .cta-card {
    padding: 56px 28px;
    border-radius: 32px;
  }

  .cta-actions {
    margin-top: 28px;
    gap: 12px;
  }

  .site-footer {
    margin-top: 64px;
  }
  .solution-panels .btn-talk-sol{
    margin-top: 20px !important;
  }
  .shift-section .frag-arrow{
    display: none;
  }
  .testimonial-section .row{
    width: 100%;
    margin: 0 auto;
  }
  /* dipendu-add-start */

  .insights-hero-image {
    display: none;
  }
  /* dipendu-add-end */
}

/* -------------------------------------------------------
   TABLET ONLY (768px – 991px)
------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
  :root {
    --spacing-section: 72px;
  }

  .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-section .col-lg-6:last-child {
    justify-content: center;
    margin-top: 16px;
  }

  .hero-section .col-lg-6:last-child img {
    max-width: 520px;
  }

  .hero-stats {
    max-width: 100%;
  }

  .hero-section h1 {
    font-size: 40px;
  }

  .split-header {
    margin-bottom: 2.5rem;
  }

  .insights-section .row > .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* dipendu-add-start */
  .insights-hero-visual {
    margin-top: 32px;
    margin-right: auto;
    margin-left: auto;
  }
  /* dipendu-add-end */

  .platform-security-intro {
    margin-bottom: 8px;
  }

  .platform-security-section .col-lg-5 .section-subtext {
    max-width: 100%;
  }

  .trust-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-main-card {
    min-height: 280px;
  }

  .footer-brand {
    max-width: 100%;
    margin-bottom: 8px;
  }

  .site-footer > .container > .row {
    padding-bottom: 48px;
  }
}

/* -------------------------------------------------------
   MOBILE (≤ 767px)
------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --spacing-section: 52px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading {
    font-size: var(--text-3xl);
  }

  .section-subtext {
    font-size: var(--text-lg);
  }

  /* Hero */
  .hero-section h1 {
    font-size: 34px;
  }

  .hero-section .col-lg-6:first-child > p {
    font-size: 15px;
  }

  .hero-stats {
    padding: 18px 20px;
    max-width: 100%;
  }

  .hero-stat {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
  }

  .hero-stat:not(:last-child) {
    border-right: 1px solid var(--color-border);
  }

  /* Partner logos */
  .partner-logos-section .row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px !important;
    padding-bottom: 4px;
    margin-left: -4px;
    margin-right: -4px;
  }

  .partner-logos-section .row::-webkit-scrollbar {
    display: none;
  }

  .partner-logos-section .row > [class*="col-"] {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
  }

  .partner-logos-section > .container > p {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 0 4px;
  }

  .partner-logos-section .row span {
    font-size: 13px;
  }

  /* Problem */
  .problem-bento {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .problem-section .problem-feature {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 28px 24px;
  }

  .problem-section .problem-feature > p {
    margin-bottom: 24px;
    padding-bottom: 0;
  }

  .problem-section .problem-bento .stat-card-sm {
    padding: 22px 20px;
  }

  @media (max-width: 575px) {
    .problem-bento {
      grid-template-columns: 1fr;
    }
  }

  /* Features */
  .capabilities-section .feature-card {
    padding: 20px;
  }

  /* Insights */
  .insights-section .row > .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .insights-header {
    margin-bottom: 36px;
    gap: 20px;
  }

  .insights-header .btn-insights-all {
    width: 100%;
    justify-content: center;
  }

  .insight-media {
    height: 120px;
  }

  .insight-card h5 {
    font-size: 16px;
  }

  /* dipendu-add-start */
  .insights-hero {
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .insights-hero h1 {
    font-size: 34px;
  }

  .insights-hero-visual {
    min-height: 260px;
    max-width: 100%;
  }

  .insights-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 32px;
    padding-bottom: 4px;
  }

  .insights-filters::-webkit-scrollbar {
    display: none;
  }

  .insights-filter-btn {
    flex-shrink: 0;
  }

  .insights-grid-section {
    padding-bottom: 56px;
  }

  .insights-filter-note {
    margin-bottom: 24px;
  }
  /* dipendu-add-end */

  /* Why Artemis */
  .why-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    margin-left: -4px;
    margin-right: -4px;
    padding: 0 4px 6px;
  }

  .why-tabs::-webkit-scrollbar {
    display: none;
  }

  .why-tab {
    width: auto;
    flex-shrink: 0;
    justify-content: flex-start;
    font-size: 12px;
    padding: 9px 14px;
  }

  .why-tab span {
    white-space: nowrap;
  }

  .why-main-card {
    padding: 28px 24px;
  }

  .why-tab-panel .row .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Solutions */
  .solution-panel-expanded {
    min-height: auto;
    padding: 28px 24px;
  }

  /* Testimonial */
  .testimonial-card {
    padding: 32px 28px;
  }

  .testimonial-section .col-lg-7 {
    padding-right: 0;
  }

  .testimonial-section .col-lg-5 {
    padding-left: 0;
  }

  .testimonial-body {
    gap: 32px;
    min-height: auto;
  }

  .quote-mark {
    font-size: 44px;
    margin-bottom: 16px;
  }

  .testimonial-section blockquote {
    font-size: 22px;
    line-height: 1.35;
  }

  .testimonial-stat-card {
    padding: 22px 24px;
  }

  .testimonial-stat-card .stat-value {
    font-size: 32px;
  }

  /* Performance stats */
  .performance-stats-section {
    padding: 52px 0;
  }

  .perf-stat .stat-value {
    font-size: 40px;
  }

  /* Platform & Security */
  .platform-security-section .row {
    gap: 32px !important;
  }

  .platform-security-section .col-lg-5 .btn-light-blue {
    width: 100%;
    justify-content: center;
  }

  .trust-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-feature-card {
    padding: 20px 14px 18px;
  }

  /* CTA */
  .cta-card {
    padding: 40px 22px;
    border-radius: 28px;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .cta-actions {
    flex-direction: column;
    width: fit-content;
    margin-inline: auto;
    margin-top: 24px;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* FAQ */
  .faq-accordion .accordion-button {
    padding: 18px 20px;
	gap: 12px;
  }

  .faq-accordion .accordion-body {
    padding: 0 20px 20px;
  }

  /* Bond accordion */
  .bond-accordion .accordion-button {
    padding: 18px 0;
    gap: 12px;
  }

  .bond-accordion .accordion-button::after {
    width: 28px;
    height: 28px;
    margin-top: 4px;
  }

  .bond-accordion .accordion-button > span:first-child {
    font-size: 16px;
    min-width: 24px;
  }

  .bond-accordion .bond-btn-meta > span:first-child {
    font-size: 9px;
  }

  .bond-accordion .bond-btn-meta > span:last-child {
    font-size: 16px;
  }

  .bond-accordion .accordion-body {
    padding: 0 0 20px 40px;
  }

  /* Footer */
  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    gap: 16px;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .site-footer > .container > .row .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .site-footer {
    margin-top: 52px;
    padding-top: 48px;
  }
}

/* -------------------------------------------------------
   SMALL MOBILE (≤ 575px)
------------------------------------------------------- */
@media (max-width: 575px) {
  :root {
    --spacing-section: 44px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section h1 {
    font-size: 28px;
  }

  .hero-section .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .btn-primary-gradient,
  .btn-outline-hero {
    padding: 10px 18px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    width: fit-content;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
  }

  .hero-stat {
    flex: none;
    width: 100%;
    text-align: left;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .hero-stat:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .hero-stats .stat-value {
    font-size: 22px;
  }

  .hero-stats .stat-label {
    font-size: 11px;
  }

  .section-heading {
    font-size: 24px;
  }

  .platform-cards > .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .platform-cards .feature-card {
    padding: 18px;
  }

  .platform-cards .feature-card h5 {
    font-size: 14px;
  }

  .trust-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .performance-stats-section {
    padding: 44px 0;
  }

  .perf-stat .stat-value {
    font-size: 32px;
  }

  .perf-stat > p {
    font-size: 12px;
    max-width: 140px;
  }

  .bond-accordion .accordion-button {
    padding: 16px 0;
    gap: 10px;
  }

  .bond-accordion .bond-btn-meta > span:last-child {
    font-size: 15px;
  }

  .bond-accordion .accordion-body {
    padding: 0 0 18px 0;
  }

  .frag-card-before,
  .frag-card-after {
    padding: 28px 22px;
  }

  .frag-card-after {
    padding-top: 44px;
  }

  .frag-card-outer li {
    font-size: 13px;
  }
  .shift-section .frag-arrow{
    display: none;
  }

  .frag-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .faq-section .section-intro {
    margin-bottom: 32px;
  }

  .site-footer h6 {
    margin-bottom: 12px;
  }

  .site-footer > .container > .row .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .site-footer {
    padding-top: 36px;
  }
}

/* -------------------------------------------------------
   TERMS PAGE
------------------------------------------------------- */
@media (max-width: 991px) {
  .terms-page {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .terms-hero {
    margin-bottom: 36px;
  }

  .terms-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .terms-toc-slot {
    display: none;
  }

  .terms-section {
    scroll-margin-top: 88px;
  }
}

@media (max-width: 575px) {
  .terms-section-header {
    align-items: flex-start;
  }
}

/* -------------------------------------------------------
   REDUCED MOTION
------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* add start 21/08/26 */
@media (max-width: 767px) {
  .tabs-comparison-section2 .why-tabs {
    grid-template-columns: 1fr;
  }
.numbered-list {
    margin-top: 33px;
  }
.contact-table-cell {
    flex: 1;
  }
}

/* add end21/08/26 */