/* About Responsive - Mobile-specific and responsive design styles */

/* Mobile breakpoints */
@media (max-width: 600px) {
  .team-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-card img {
    width: 56px;
    height: 56px;
  }
/*
  .about-card {
    padding: 1rem;
  }*/

  .about-card .name {
    font-size: 1.1rem;
  }

  .about-card .role {
    font-size: 0.9rem;
  }

  .about-card .lets-connect {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .about-block {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .about-block h3 {
    font-size: 1.2rem;
  }

  .about-intro p {
    font-size: 1rem;
  }

  .about-infobar {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  .about-info {
    font-size: 0.9rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .about-card .badges {
    gap: 0.2rem;
  }

  .about-card .fun-fact {
    font-size: 0.85rem;
  }

  .about-card .bio {
    font-size: 0.9rem;
  }
}

@media (max-width: 700px) {
  .about-infobar {
    margin-top: 1.5rem;
    padding: 1.2rem;
  }

  .about-block {
    margin-bottom: 1.5rem;
  }

  .about-columns {
    gap: 1.5rem;
  }

  .team-list {
    gap: 2rem;
  }
}

@media (max-width: 500px) {
 /* .about-card {
    padding: 0.8rem;
  }*/

  .about-card .name {
    font-size: 1rem;
  }

  .about-card .role {
    font-size: 0.85rem;
  }

  .about-card img {
    width: 48px;
    height: 48px;
  }

  .about-card .lets-connect {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .about-block {
    padding: 1.2rem;
  }

  .about-block h3 {
    font-size: 1.1rem;
  }

  .about-intro {
    padding: 1rem;
  }

  .about-intro p {
    font-size: 0.95rem;
  }

  .about-infobar {
    padding: 1rem;
  }

  .about-info {
    font-size: 0.85rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }

  .about-card .bio {
    font-size: 0.85rem;
  }

  .about-card .fun-fact {
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  /*.about-card {
    padding: 0.6rem;
  }*/

  .about-card .name {
    font-size: 0.95rem;
  }

  .about-card .role {
    font-size: 0.8rem;
  }

  .about-card img {
    width: 44px;
    height: 44px;
  }

  .about-card .lets-connect {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .about-block {
    padding: 1rem;
  }

  .about-block h3 {
    font-size: 1rem;
  }

  .about-intro {
    padding: 0.8rem;
  }

  .about-intro p {
    font-size: 0.9rem;
  }

  .about-infobar {
    padding: 0.8rem;
  }

  .about-info {
    font-size: 0.8rem;
  }

  .badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.3rem;
  }

  .about-card .bio {
    font-size: 0.8rem;
  }

  .about-card .fun-fact {
    font-size: 0.75rem;
  }

  .about-card .badges {
    gap: 0.15rem;
  }
}

/* Tablet breakpoints */
@media (min-width: 601px) and (max-width: 900px) {
  .team-list {
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
  }

  .about-card {
    min-width: 280px;
    max-width: 320px;
  }

  .about-columns {
    gap: 2.5rem;
  }

  .about-block {
    padding: 1.8rem;
  }

  .about-infobar {
    padding: 1.3rem;
  }
}

/* Small desktop breakpoints */
@media (min-width: 901px) and (max-width: 1100px) {
  .team-list {
    flex-direction: row;
    gap: 2.2rem;
    justify-content: center;
  }

  .about-card {
    min-width: 300px;
    max-width: 350px;
  }

  .about-columns {
    gap: 2.8rem;
  }
}

/* Large desktop breakpoints */
@media (min-width: 1101px) and (max-width: 1400px) {
  .about-columns {
    max-width: 1100px;
  }

  .about-left {
    flex: 0 0 42%;
  }

  .about-right {
    flex: 0 0 58%;
  }
}

@media (min-width: 1401px) {
  .about-columns {
    max-width: 1300px;
  }

  .about-left {
    flex: 0 0 40%;
  }

  .about-right {
    flex: 0 0 60%;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .about-card {
    min-height: 350px;
  }

  .about-block {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .about-infobar {
    padding: 1rem;
    margin-top: 1.5rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .about-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .about-card,
  .about-block,
  .about-infobar,
  .badge,
  .social-icon {
      animation: none;
  transition: none;
  }

  .about-card:hover,
  .about-block:hover,
  .about-infobar:hover {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .about-card {
    border-width: 3px;
  }

  .about-block {
    border-width: 3px;
  }

  .about-infobar {
    border-width: 3px;
  }

  .badge {
    border-width: 2px;
  }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .about-card {
    background: rgba(10, 12, 24, 0.95);
  }

  .about-block {
    background: rgba(24, 25, 42, 0.9);
  }

  .about-infobar {
    background: rgba(34, 0, 51, 0.95);
  }
} 

@media (max-width: 768px) {
  /* Reduce or remove blur/glow for better performance */
  .section, .about-card, .service-card, .contact-form, .scroll-hidden, .scroll-stagger > * {
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    background: rgba(24, 25, 42, 0.98) !important;
  }

  /* Make form fields and text more readable */
  input, textarea, select {
    font-size: 1.1em;
    padding: 0.8em;
    width: 100%;
    box-sizing: border-box;
  }

  /* Adjust floating buttons */
  .customer-chat-widget, .back-to-top {
    width: 2.5rem;
    height: 2.5rem;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    font-size: 1.2rem;
  }

  /* Ensure no overlap with content */
  .customer-chat-widget.open {
    width: 90vw;
    left: 5vw;
    right: 5vw;
    height: 60vw;
    min-width: unset;
    min-height: unset;
  }

  /* Disable checkered motion background on cards/sections */
  .section::before,
  .tech-cert-card::before,
  #services::before {
    animation: none !important;
  }
} 