/* ==========================================================
   MEDIA QUERIES
   ========================================================== */
/* ---- Tablets (min 768px) ---- */
@media screen and (min-width: 768px) {
  .nav_menu {
    position: static;
    display: flex;
    background: none;
    box-shadow: none;
  }

  .nav_list {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }

  .social-list {
    margin-left: 1rem;
  }
  .contact-btn { 
    width: 8.8rem;
  }

  .hero_section {
    min-height: 80vh;
    padding: 4rem 2rem;
  }

  .hero-header {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-img {
    max-width: 450px;
  }

  .blog-post-image-row {
    grid-template-columns: 1fr 1fr;
  }

  .section-base {
    padding: 3rem 1.5rem;
  }
  .contact-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
  }

  .contact_info {
    flex: 1 1 45%;
    text-align: left;
    align-items: flex-start;
  }

  .contact_details {
    align-items: flex-start;
  }

  .small-note {
    text-align: left;
  }

  .contact_form-border {
    flex: 1 1 50%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .service-card {
    padding: 20px;
  }
  .service-icon {
    width: 45px;
    height: 45px;
  }
    .hero-header {
    font-size: 1.7rem;
  }
  .hero-tagline {
    font-size: 1.4rem;
  }
  .about-intro p {
    font-size: 1.1rem;
  }

  .founder-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 2.5rem;
  }

  .founder-photo-wrap {
    max-width: 280px;
  }
}
  

/* ---- Desktop (min 1024px) ---- */
@media screen and (min-width: 1024px) {
  .nav_logo img {
    height: 2.5rem;
  }

  .contact-btn {
    font-size: var(--normal-font-size);
  }
.hero_section {
    min-height: 90vh;
  }

  .hero-header {
    font-size: 2.8rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .hero-img {
    max-width: 500px;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .blog-post-title {
    font-size: 2.2rem;
  }

  .blog-post-header {
    padding-top: 8rem;
  }

  .not-found-section {
    padding-top: 8rem;
  }

  .footer_container {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin-inline: auto;
  }

  .coded {
    text-align: right;
    width: 100%;
  }
    .footer_container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    gap: 2rem;
  }

.ui-base {
    align-items: flex-start;
    text-align: left;
  }

  .ui-base span {
    margin-top: -9px;
    font-size: 0.9rem;
  }

  .footer_copy {
    text-align: right;
  }

  .coded {
    text-align: right;
  }

    .footer-right {
    align-items: flex-end;
    text-align: right;
  }
    .contact-heading h1 {
    font-size: 2.05rem;
  }
    .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .service-card {
    padding: 25px;
  }
  .service-icon {
    width: 60px;
    height: 60px;
  }
  .founder-content {
    gap: 3rem;
  }

  .founder-photo-wrap {
    max-width: 320px;
  }
    .hero-header {
    font-size: 2rem;
  }
  .hero-tagline {
    font-size: 1.6rem;
  }
  .about-intro p {
    font-size: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .about-cards-grid {
    grid-template-columns: 1fr; /* stack cards on smaller screens */
  }
}

/* ---- Wide screens: let "Our Approach" line up as one even row ---- */
@media screen and (min-width: 1300px) {
  .about-cards {
    max-width: 1300px;
  }

  .about-cards .about-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }

  .about-cards .about-card.full-width {
    grid-column: auto; /* stop spanning the full row once there's space for 4-up */
  }
}

/* ---- Very Large Screens (min 1440px) ---- */
@media screen and (min-width: 1440px) {
  .hero_section {
    min-height: 75vh; /* reduce height for large displays */
  }

  .founder-intro {
    max-width: 1100px;
    padding: 3.5rem 2.5rem;
  }

  .founder-photo-wrap {
    max-width: 360px;
  }

  .about-services {
    max-width: 1300px;
  }

  .mission-vision {
    max-width: 1200px;
  }

  .services-grid-large {
    gap: 35px;
  }
}