@media (min-width: 576px) {
  html {
    font-size: 70%;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 75%;
  }
}

@media (min-width: 992px) {
  html {
    font-size: 80%;
  }
}

@media (min-width: 1200px) {
  html {
      font-size: 85%;
  }
}

@media (min-width: 1440px) {
  html {
    font-size: 90%;
  }
}

@media (max-width: 991px) {
  .about-content,
  .contact .container {
    flex-direction: column;
  }
  
  .contact-form {
    margin-top: 4rem;
    width: 100%;
  }

  .scroll-to-top {
    bottom: 90px;
    right: 30px;
    width: 35px;
    height: 35px;
  }

  .header .container {
    padding: 0 1.5rem;
  }

  .results .section-title {
    font-size: 1.75rem;
    padding: 0 2rem;
  }

  .results-stats {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
  }

  .stat-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .stat-description {
    max-width: 300px;
  }

  .results .btn {
    width: 100%;
    max-width: 450px;
  }

  .contact .container {
    flex-direction: column;
    gap: 0;
  }

  .contact-form {
    margin-top: 2rem;
    padding: 2.5rem;
  }

  .contact-title {
    font-size: 3.6rem;
  }

  .contact-pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .about-image-container {
    max-width: 531px;
    margin: 0 auto;
  }

  .about-content {
    text-align: center;
  }

  .platform-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .platform-logos-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .platform-logo-center {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .results-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .header .container {
    padding: 0 1rem;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    padding: 80px 2rem 2rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    position: relative;
    top: 0;
    background: none;
    padding: 0;
  }
  
  .nav-list a {
    display: block;
    font-size: 1.6rem;
    color: var(--black);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray);
  }

  .nav-list a:last-child {
    border-bottom: none;
  }
  
  .nav-list a.active {
    color: var(--primary-color);
  }

  .footer-nav-list {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-nav-list li {
    width: 100%;
  }

  .footer-nav-list a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.25rem;
  }

  .footer-nav-list a:last-child {
    border-bottom: none;
  }

  .method-pillars,
  .results-stats {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 4rem 0;
  }

  .contact-title {
    font-size: 3rem;
  }

  .contact-content p {
    font-size: 1.4rem;
  }

  .contact-pillars {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-pillar h3 {
    font-size: 1.4rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1.4rem;
    padding: 1.4rem;
  }

  .form-footer {
    flex-direction: column-reverse;
    gap: 0;
    align-items: center;
  }

  .form-submit {
    width: 100%;
  }

  .form-submit .btn {
    width: 100%;
    padding: 1.2rem;
  }

  .form-terms {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .about-content .section-title {
    font-size: 3rem;
  }

  .platform-logos-row {
    gap: 1.5rem;
  }

  .logo-item img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 575px) {
  .results{
    padding: 3rem 0;
  }

  .results .cta-center{
    max-width: 370px;
    margin: 3rem auto;
  }

  .section-title,
  .contact-title {
    font-size: 2.4rem;
  }
  
  .section-subtitle {
    font-size: 2.2rem;
  }
  
  .stat-number {
    font-size: 3.6rem;
  }
  
  .experience-badge {
    width: 12rem;
    height: 12rem;
    font-size: 1.2rem;
  }
  
  .logo-row {
    justify-content: center;
  }
  
  .logo-row img {
    height: 4rem;
  }

  .header .container {
    padding: 0 1rem;
  }

  .main-nav {
    width: 260px;
  }

  .results .section-title {
    font-size: 1.5rem;
    padding: 0;
  }

  .results-stats {
    gap: 2.5rem;
    padding: 0 1rem;
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .stat-description {
    font-size: 0.875rem;
  }

  .results .btn {
    font-size: 0.8rem;
    padding: 0.875rem 1.5rem;
  }

  .contact {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-title {
    font-size: 2.4rem;
  }

  .contact-pillar {
    padding: 2rem 1.5rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 1.2rem;
    font-size: 1.4rem;
  }

  .form-terms {
    font-size: 1.2rem;
  }

  .about-content .section-title {
    font-size: 2.4rem;
  }

  .platform-logos-row {
    gap: 1.5rem;
  }

  .platform-logo-center {
    margin: 1rem 0;
  }

  .logo-item {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 1440px) {
  .about-wrapper {
    gap: 8rem;
  }

  .about-image-wrapper {
    flex: 0 0 450px;
  }

  .about-image {
    height: 600px;
  }

  .about-content .section-title {
    font-size: 4rem;
  }

  .image-caption {
    right: -40px;
  }

  .experience-badge {
    left: -40px;
  }
}

@media (max-width: 1200px) {
  .about {
    padding: 8rem 0;
  }

  .about::before {
    width: 800px;
    height: 800px;
    top: -200px;
    left: -200px;
  }

  .about-wrapper {
    gap: 6rem;
  }

  .about-image-wrapper {
    flex: 0 0 400px;
  }

  .about-image {
    height: 540px;
  }

  .about-content .section-title {
    font-size: 2.5rem;
  }

  .image-caption {
    right: -20px;
    font-size: 1.2rem;
  }

  .experience-badge {
    width: 140px;
    height: 140px;
    font-size: 1.4rem;
    left: -30px;
    bottom: 30px;
  }
}

@media (max-width: 991px) {
  .about-wrapper {
    flex-direction: column;
    gap: 4rem;
  }

  .about-content .section-title{
    text-align: center;
  }

  .about-image-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 531px;
    margin: 0 auto;
  }

  .about-content {
    padding-top: 0;
  }

  .image-caption {
    position: relative;
    top: 20px;
    right: 0;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
  }

  .experience-badge {
    width: 120px;
    height: 120px;
    font-size: 1.3rem;
    left: -20px;
    bottom: 20px;
  }

  .platform-logos {
    justify-content: center;
    gap: 2rem;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .about {
    padding: 6rem 0;
  }

  .about::before {
    width: 400px;
    height: 400px;
  }

  .about-content .section-title {
    font-size: 3rem;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
    font-size: 1.2rem;
    padding: 1.5rem;
  }

  .platform-logos {
    gap: 1.5rem;
  }
}

@media (max-width: 575px) {
  .about {
    padding: 4rem 0;
  }

  .about::before {
    width: 300px;
    height: 300px;
  }

  .about-content .section-title {
    font-size: 2.8rem;
  }

  .experience-badge {
    width: 90px;
    height: 90px;
    font-size: 1.1rem;
    padding: 1rem;
    left: -15px;
    bottom: 15px;
  }

  .image-caption {
    font-size: 1.1rem;
    padding: 10px 15px;
  }

  .platform-logos {
    gap: 1rem;
  }
}