@media screen and (max-width: 768px) {
  .hero-grid {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-heading {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-logo {
    height: 140px;
  }
  .scroll-indicator {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
  }
  .motto {
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
  }
  .motto,
  .about-explanaition {
    text-align: center;
    padding: 16px;
  }
}
@media screen and (max-width: 768px) {
  .what-we-do h2 {
    font-size: 2rem;
    text-align: center;
  }
  .what-we-do .intro {
    font-size: 1rem;
    text-align: center;
    padding: 0 10px;
  }
 .problem-columns {
    flex-direction: column;
    gap: 20px;
  }
  .problem-group {
    flex: 1 1 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: left;
  }
  .problem-group h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  .problem-icon {
    height: 24px;
    margin-right: 10px;
  }
  .problem-group ul {
    padding-left: 20px;
    margin: 0;
  }
  .what-we-do-container {
    padding: 0 16px;
  }
}
@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
  }
  .about-text,
  .about-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .about-text h2 {
    margin-top: 20px;
  }
  .about-image img {
    max-width: 80%;
  }
}
/* Mobile stacking */
@media (max-width: 768px) {
  .value-card {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
    padding: 0 16px;
  }
  .footer-logo-section,
  .footer-contact-section,
  .footer-links-section,
  .footer-social-section {
    flex: 1 1 100%;
    min-width: 0;
  }
  .footer-contact-section ul,
  .footer-links-section ul {
    padding-left: 0;
    margin: 0 auto;
  }
  .footer-social-icons {
    justify-content: center;
  }
  .footer-icon {
    margin-right: 6px;
  }
  .footer-tagline {
    font-size: 0.95rem;
    text-align: center;
  }
  .footer-bottom {
    padding-top: 20px;
    font-size: 0.85rem;
    color: #b3c6e0;
    line-height: 1.6;
  }
.footer-microsoft-banner {
  margin-top: 20px;
  text-align: center;
  padding: 0 24px;
}
}
@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding-top: 80px;
  }
  .hero-div1,
  .hero-div2,
  .hero-div3 {
    flex: 1 1 100%;
    padding: 20px;
    text-align: center;
  }
  .hero-name-des {
    align-items: center;
    text-align: center;
  }
  .hero-name h1 {
    font-size: 2rem;
    border-bottom: none;
    margin-bottom: 0.5rem;
  }
  .hero-des h2 {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 10px;
  }
  .hero-company-name-logo {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
  }
  .hero-company-name-text {
    align-items: center;
    text-align: center;
  }
  .hero-company-name h1 {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }
  .hero-company-slogan h2 {
    font-size: 0.95rem;
  }
  .hero-company-logo img {
    height: 60px;
  }
  .border-accent {
    display: none;
  }
  .hero-microsoft-name-logo {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
  }
  .hero-microsoft-name-text {
    text-align: center;
    align-items: center;
  }
  .hero-microsoft-name-text h1 {
    font-size: 1.3rem;
  }
  .hero-microsoft-name-text h2 {
    font-size: 0.95rem;
  }
  .hero-microsoft-logo img {
    height: 60px;
  }
}
@media screen and (max-width: 768px) {
  .intro-section {
    padding: 80px 16px;
  }
  .intro-wrapper {
    padding: 0 12px;
    max-width: 100%;
  }
  .intro-heading {
    font-size: 1.8rem;
    letter-spacing: 1.2px;
    margin-bottom: 1rem;
  }
  .intro-divider {
    width: 60px;
    margin-bottom: 1.5rem;
  }
  .intro-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
    color: #4b5563;
  }
}
@media screen and (max-width: 768px) {
  .what-it-does {
    padding: 80px 16px;
  }
  .features-wrapper {
    padding: 0 12px;
  }
  .features-heading {
    font-size: 1.8rem;
    letter-spacing: 1.2px;
    margin-bottom: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-item {
    padding: 24px 16px;
    text-align: center;
  }
  .feature-icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  .feature-title {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
  }
  .feature-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 6px;
  }
}
@media screen and (max-width: 768px) {
  .benefits-section,
  .org-benefits-section {
    padding: 80px 16px;
  }
  .benefits-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .benefits-image,
  .benefits-text {
    flex: 1 1 100%;
  }
  .benefits-heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 4px;
    border-bottom-width: 2px;
  }
  .benefits-text p {
    font-size: 1rem;
    line-height: 1.7;
    transform: none !important;
    opacity: 1 !important;
  }
  .benefits-image img {
    max-width: 100%;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
  }
  .org-benefits-wrapper {
    padding: 0 12px;
  }
  .org-benefits-heading {
    font-size: 2rem;
    margin-bottom: 40px;
    border-bottom-width: 2px;
    padding-bottom: 6px;
  }
  .org-benefits-columns {
    flex-direction: column;
    gap: 24px;
  }
  .org-benefit-card {
    padding: 24px 18px;
    text-align: left;
  }
  .org-benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  .org-benefit-card li {
    font-size: 0.95rem;
    padding-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  .pain-title h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 12px;
    border-bottom-width: 2px;
  }
  .pain-flow-zigzag {
    padding-left: 0;
  }
  .pain-flow-zigzag::before {
    display: none; /* Hide center line on mobile */
  }
    .pain-node {
    width: 100%;
    align-self: stretch;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(69, 182, 240, 0.1);
    font-size: 0.95rem;
  }
  .pain-node.left,
  .pain-node.right {
    align-self: center;
  }
  .pain-node h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .pain-node p {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .solution-box {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 12px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: none;
    background-color: #eef2f7;
    box-shadow: none;
  }
  .solution-box h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    text-align: left;
  }
  .solution-box ul {
    padding-left: 20px;
  }
  .solution-box li {
    font-size: 0.95rem;
    padding-left: 22px;
  }
  .solution-box li::before {
    font-size: 1rem;
    top: 2px;
  }
}
@media screen and (max-width: 768px) {
  .core-functionality-section {
    padding: 80px 16px;
  }
  .core-functionality-heading {
    font-size: 2rem;
    padding-bottom: 8px;
    margin-bottom: 1rem;
    border-bottom-width: 3px;
  }
  .core-functionality-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 0 8px;
  }
  .core-functionality-track {
    flex-direction: column;
    gap: 24px;
  }
  .core-card {
    padding: 20px;
    text-align: left;
  }
  .core-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .core-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  .core-card li {
    font-size: 0.9rem;
    margin-bottom: 6px;
    padding-left: 20px;
  }
  .core-card li::before {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .intro-docdata {
    padding: 60px 20px;
  }
  .intro-docdata h1 {
    font-size: 2rem;
  }
  .intro-docdata h2 {
    font-size: 1.25rem;
  }
  .intro-docdata p {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .docdata-benefits {
    padding: 60px 20px;
    text-align: left;
  }
  .docdata-benefits h2 {
    font-size: 1.75rem;
  }
  .docdata-benefits p,
  .docdata-benefits ul li {
    font-size: 0.95rem;
  }
}
@media screen and (max-width: 768px) {
  .home-hero {
    flex-direction: column;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .home-hero-div1,
  .home-hero-div2,
  .home-hero-div3 {
    flex: none;
    width: 100%;
    padding: 20px 16px;
    box-sizing: border-box;
    text-align: center;
  }
  .home-hero-div2,
  .home-hero-div3 {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .flagship-product-section {
    align-items: center;
    text-align: center;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
  .flagship-button {
    width: auto;
    font-size: 0.9rem;
  }
  .home-hero-company-name-logo,
  .home-hero-microsoft-name-logo {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
   margin: 0 auto;         /* Centers block */
    display: inline-block;  /* Prevents full-width stretching */
    max-width: 360px;       /* Keeps logos consistently sized */
  }
  .home-hero-company-name-text,
  .home-hero-microsoft-name-text {
    align-items: center;
    text-align: center;
  }
  .home-border-accent {
    display: none; /* Hide accent on mobile to simplify layout */
  }
  .home-hero-company-logo img,
  .home-hero-microsoft-logo img {
    height: 60px;
  }
  .flagship-description,
  .flagship-title,
  .home-hero-company-name h1,
  .home-hero-company-slogan h2,
  .home-hero-microsoft-name h1,
  .home-hero-microsoft-name-text h2 {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
}
@media screen and (max-width: 768px) {
  .preview-trio {
    flex-direction: column;
    gap: 24px;
  }
  .preview-block {
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
  }
  .preview-block video {
    width: 100%;
    height: auto;
  }
  .preview-block h4,
  .preview-block p {
    text-align: left;
  }
}