/* ========================================
   Responsive Styles
======================================== */

/* Large Devices (Desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Medium Devices (Tablets, 768px and up) */
@media (max-width: 991px) {
  /* Header */
  .nav-menu-wrapper {
    margin: 1rem 0 0 0;
  }

  .navbar-nav {
    border: none;
    border-radius: 0;
    padding: 0;
    flex-direction: column;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
    width: 100%;
  }

  .btn-phone {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

  /* Hero Section */
  .hero-section {
    padding: 115px 0 0;
  }

  .hero-content {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-image {
    margin-top: 1rem;
  }

  /* Home Intro Section */
  .home-intro-section {
    margin-top: 0px;
  }
  .intro-content {
    padding-right: 0;
    margin-bottom: 3rem;
    text-align: left;
  }

  .intro-title {
    font-size: 1.75rem;
  }

  .intro-list li {
    justify-content: left;
    text-align: left;
  }

  .consultation-form-card {
    margin: 0 auto;
  }

  /* Services Section */
  .services-title {
    font-size: 2rem;
  }
}

/* Small Devices (Landscape phones, 576px and up) */
@media (max-width: 767px) {
  /* Header */
  .navbar-brand .logo {
    height: 60px;
  }

  /* Hero Section */
  .hero-section {
    padding: 120px 0 0;
  }

  .hero-content {
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .btn-consultation {
    padding: 12px 28px;
    font-size: 15px;
  }

  /* Home Intro Section */
  .home-intro-section {
    padding: 60px 0;
  }

  .intro-title {
    font-size: 1.5rem;
  }

  .intro-list li {
    font-size: 0.95rem;
  }

  .intro-list li i {
    font-size: 1.1rem;
  }

  .consultation-form-card {
    padding: 30px 25px;
  }

  .form-title {
    font-size: 1.2rem;
  }

  /* About Section */
  .about-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .mission-title {
    font-size: 1.3rem;
  }

  /* Services Section */
  .services-title {
    font-size: 1.75rem;
  }

  .services-description {
    font-size: 1rem;
  }

  /* Software Section */
  .software-title {
    font-size: 1.75rem;
  }

  .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Cardio Section */
  .why-cardio-title {
    font-size: 1.75rem;
  }

  .why-cardio-content {
    padding: 2rem;
  }

  /* Serving USA Section */
  .serving-usa-title {
    font-size: 1.75rem;
  }

  .serving-usa-content {
    padding: 3rem 2rem;
  }

  .states-grid {
    gap: 0.75rem;
  }

  .state-item {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }

  /* Partnership Section */
  .partnership-title {
    font-size: 1.4rem;
  }

  .partnership-description {
    font-size: 0.95rem;
  }

  .partnership-approach-title {
    font-size: 1.2rem;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .step-content {
    max-width: 100%;
  }

  .partnership-conclusion {
    font-size: 0.95rem;
  }

  /* Blog Section */
  .blog-title {
    font-size: 1.5rem;
  }

  .blog-image {
    height: 200px;
  }

  .blog-card {
    margin-bottom: 1.5rem;
  }

  /* FAQs Section */
  .faqs-title {
    font-size: 1.5rem;
  }

  .accordion-button {
    font-size: 0.95rem;
    padding: 1.25rem 0;
  }

  .accordion-body {
    font-size: 0.9rem;
  }

  /* Consultation CTA Section */
  .consultation-title {
    font-size: 1.75rem;
  }

  .consultation-subtitle {
    font-size: 1.1rem;
  }

  .consultation-description {
    font-size: 0.9rem;
  }

  .consultation-content {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .consultation-form-wrapper {
    margin-left: 0;
  }

  .consultation-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .form-header {
    font-size: 1.25rem;
  }

  /* Footer Section */
  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  /* Page Banner */
  .page-banner {
    padding: 140px 0 60px;
  }

  .banner-title {
    font-size: 2.5rem;
  }

  .banner-subtitle {
    font-size: 1.2rem;
  }

  /* Coming Soon Section */
  .coming-soon-section {
    padding: 60px 0;
  }

  .coming-soon-content {
    padding: 40px 20px;
  }

  .coming-soon-icon {
    font-size: 3.5rem;
  }

  .coming-soon-title {
    font-size: 2rem;
  }

  .coming-soon-text {
    font-size: 1.1rem;
  }

  /* HIPAA Section */
  .hipaa-title {
    font-size: 1.6rem;
  }

  .hipaa-card {
    padding: 2rem 1.5rem;
  }
}

/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 575px) {
  /* Hero Section */
  .hero-section {
    padding: 120px 0 0;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .btn-consultation {
    padding: 10px 24px;
    font-size: 14px;
    margin-bottom: 2rem;
  }

  /* Home Intro Section */
  .home-intro-section {
    padding: 40px 0;
  }

  .intro-title {
    font-size: 1.3rem;
  }

  .intro-list li {
    font-size: 0.85rem;
  }

  /* About Section */
  .about-section {
    padding: 60px 0;
  }

  .about-content {
    padding-right: 0;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .mission-section {
    margin-top: 2rem;
  }

  .mission-title {
    font-size: 1.2rem;
  }

  .about-description,
  .mission-description {
    font-size: 0.9rem;
  }

  /* Why Specialization Section */
  .why-specialization-section {
    margin-bottom: 80px;
  }

  .specialization-title {
    font-size: 2rem;
  }

  .specialization-subtitle {
    font-size: 1rem;
  }

  .specialization-card {
    padding: 2rem 1.5rem;
    top: 120px;
  }

  .consultation-form-card {
    padding: 25px 20px;
  }

  .form-title {
    font-size: 1.1rem;
  }

  .consultation-form .form-select,
  .consultation-form .form-control {
    padding: 10px 15px;
    font-size: 14px;
  }

  .btn-submit {
    padding: 12px 25px;
    font-size: 14px;
  }

  .form-check-group {
    gap: 1.5rem;
  }

  .navbar-brand .logo {
    height: 75px;
  }

  /* Services Section */
  .services-title {
    font-size: 1.4rem;
  }

  .services-description {
    font-size: 0.9rem;
  }

  .service-image {
    height: 160px;
  }

  /* Challenges Expertise Section */
  .challenges-heading {
    font-size: 1.4rem;
  }

  .challenges-subtitle {
    font-size: 0.9rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .challenges-content {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .challenges-image-overlap {
    left: 0;
  }

  /* Software Section */
  .software-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer Section */
  .footer-logo {
    height: 50px;
  }

  .footer-social {
    margin-bottom: 2rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  /* Page Banner */
  .page-banner {
    padding: 120px 0 50px;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  /* HIPAA Section */
  .hipaa-section {
    padding: 60px 0;
  }

  .hipaa-title {
    font-size: 1.4rem;
  }

  .hipaa-card {
    padding: 1.5rem 1rem;
  }

  .hipaa-icon {
    width: 45px;
    height: 45px;
  }

  .hipaa-icon i {
    font-size: 1.2rem;
  }

  .hipaa-text {
    font-size: 0.9rem;
  }

  /* Thank You Page */
  .thank-you-section {
    padding: 100px 0 60px;
  }

  .thank-you-content {
    padding: 40px 25px;
  }

  .thank-you-content h1 {
    font-size: 2rem;
  }

  .thank-you-content h2 {
    font-size: 1.2rem;
  }

  .next-steps h3 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ========================================
   Landscape Orientation
======================================== */

@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    padding: 20px 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
}
